Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@useoptic/agent-cli

Package Overview
Dependencies
Maintainers
4
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@useoptic/agent-cli

@useoptic/agent-cli ===================

  • 9.0.20
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-20%
Maintainers
4
Weekly downloads
 
Created
Source

@useoptic/agent-cli

oclif Version Downloads/week License

Usage

$ npm install -g @useoptic/agent-cli
$ optic-agent COMMAND
running command...
$ optic-agent (-v|--version|version)
@useoptic/agent-cli/9.0.20 linux-x64 node-v12.22.1
$ optic-agent --help [COMMAND]
USAGE
  $ optic-agent COMMAND
...

Commands

optic-agent help [COMMAND]

display help for optic-agent

USAGE
  $ optic-agent help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

optic-agent run

Monitor your API with Optic, given a capture configuration generated by optic-ci

USAGE
  $ optic-agent run

OPTIONS
  --command=command      (required, or --targetUrl) the command to start your API
  --config=config        (required) the output from optic-ci capture:start
  --listen=listen        (required) host:port Optic should listen on (aliases: --baseUrl, --inboundUrl)
  --targetUrl=targetUrl  (required, or --command) the url where your API is available

EXAMPLE
  $ optic-agent run --command="npm start" --config=$CAPTURE_CONFIG --listen=http://localhost:3001

See code: src/commands/run.ts

Keywords

FAQs

Package last updated on 26 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc