@useoptic/cli
The Optic CLI
Last updated 2 hours ago by acunniffe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @useoptic/cli 
SYNC missed versions from official npm registry.

local-cli

CLI to document your API and generate artifacts

oclif Version Downloads/week License

Usage

$ npm install -g @useoptic/cli
$ api COMMAND
running command...
$ api (-v|--version|version)
@useoptic/cli/8.0.8 darwin-x64 node-v12.4.0
$ api --help [COMMAND]
USAGE
  $ api COMMAND
...

Commands

api check [TASKNAME]

Validate the correctness of a task in your optic.yml

USAGE
  $ api check [TASKNAME]

See code: src/commands/check.ts

api generate:oas

export an OpenAPI 3.0.1 spec

USAGE
  $ api generate:oas

OPTIONS
  --json
  --yaml

See code: src/commands/generate/oas.ts

api help [COMMAND]

display help for api

USAGE
  $ api help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

api init

Add Optic to your API

USAGE
  $ api init

See code: src/commands/init.ts

api login

Login to Optic from the CLI

USAGE
  $ api login

See code: src/commands/login.ts

api logout

Logout from Optic

USAGE
  $ api logout

See code: src/commands/logout.ts

api run [TASKNAME]

Run a task from your optic.yml

USAGE
  $ api run [TASKNAME]

See code: src/commands/run.ts

api spec

Open your Optic API specification

USAGE
  $ api spec

See code: src/commands/spec.ts

api start

starts your API process behind a proxy

USAGE
  $ api start

See code: src/commands/start.ts

api testing:disable

Disable Live Contracting Testing for your API

USAGE
  $ api testing:disable

See code: src/commands/testing/disable.ts

api testing:enable

Enable Live Contracting Testing for your API

USAGE
  $ api testing:enable

See code: src/commands/testing/enable.ts

Current Tags

  • 8.1.0                                ...           latest (2 hours ago)

111 Versions

  • 8.1.0                                ...           2 hours ago
  • 8.0.7                                ...           12 days ago
  • 8.0.6                                ...           23 days ago
  • 8.0.5                                ...           a month ago
  • 8.0.4                                ...           a month ago
  • 8.0.3                                ...           a month ago
  • 8.0.2                                ...           a month ago
  • 8.0.1                                ...           a month ago
  • 7.0.10                                ...           2 months ago
  • 7.0.9                                ...           3 months ago
  • 7.0.8                                ...           3 months ago
  • 7.0.7                                ...           4 months ago
  • 7.0.6                                ...           4 months ago
  • 7.0.5                                ...           4 months ago
  • 7.0.4                                ...           4 months ago
  • 7.0.3                                ...           4 months ago
  • 7.0.2                                ...           4 months ago
  • 7.0.1                                ...           4 months ago
  • 7.0.0                                ...           4 months ago
  • 6.6.12                                ...           5 months ago
  • 6.6.11                                ...           5 months ago
  • 6.6.10                                ...           5 months ago
  • 6.6.9                                ...           5 months ago
  • 6.6.8                                ...           5 months ago
  • 6.6.7                                ...           5 months ago
  • 6.6.5                                ...           6 months ago
  • 6.6.3                                ...           6 months ago
  • 6.6.2                                ...           6 months ago
  • 6.6.1                                ...           6 months ago
  • 6.5.12                                ...           6 months ago
  • 6.6.0                                ...           6 months ago
  • 6.5.11                                ...           6 months ago
  • 6.5.10                                ...           6 months ago
  • 6.5.8                                ...           6 months ago
  • 6.5.7                                ...           6 months ago
  • 6.5.6                                ...           6 months ago
  • 6.5.5                                ...           6 months ago
  • 6.5.4                                ...           6 months ago
  • 6.5.3                                ...           6 months ago
  • 6.5.2                                ...           6 months ago
  • 6.5.1                                ...           6 months ago
  • 6.5.0                                ...           6 months ago
  • 6.4.4                                ...           6 months ago
  • 6.4.3                                ...           6 months ago
  • 6.4.2                                ...           6 months ago
  • 6.4.1                                ...           7 months ago
  • 6.4.0                                ...           7 months ago
  • 6.3.0                                ...           7 months ago
  • 6.2.5                                ...           7 months ago
  • 6.2.4                                ...           7 months ago
  • 6.2.3                                ...           8 months ago
  • 6.2.2                                ...           8 months ago
  • 6.2.1                                ...           8 months ago
  • 6.2.0                                ...           8 months ago
  • 6.1.8                                ...           8 months ago
  • 6.1.7                                ...           9 months ago
  • 6.1.6                                ...           9 months ago
  • 6.1.5                                ...           9 months ago
  • 6.1.4                                ...           9 months ago
  • 6.1.3                                ...           9 months ago
  • 6.1.2                                ...           9 months ago
  • 6.1.0                                ...           9 months ago
  • 6.0.9                                ...           9 months ago
  • 6.0.8                                ...           9 months ago
  • 6.0.7                                ...           9 months ago
  • 6.0.6                                ...           9 months ago
  • 6.0.4                                ...           9 months ago
  • 6.0.3                                ...           9 months ago
  • 6.0.2                                ...           9 months ago
  • 6.0.1                                ...           9 months ago
  • 6.0.0                                ...           9 months ago
  • 5.0.0-alpha5                                ...           9 months ago
  • 5.0.0-alpha4                                ...           9 months ago
  • 5.0.0-alpha3                                ...           9 months ago
  • 5.0.0-alpha.3                                ...           10 months ago
  • 5.0.0-alpha.2                                ...           10 months ago
  • 5.0.0-alpha.1                                ...           10 months ago
  • 4.0.100                                ...           10 months ago
  • 3.2.8                                ...           a year ago
  • 3.2.7                                ...           a year ago
  • 3.2.6                                ...           a year ago
  • 3.2.5                                ...           a year ago
  • 3.2.4                                ...           a year ago
  • 3.2.3                                ...           a year ago
  • 3.2.2                                ...           a year ago
  • 3.2.1                                ...           a year ago
  • 3.2.0                                ...           a year ago
  • 2.5.4                                ...           a year ago
  • 2.5.3                                ...           a year ago
  • 2.5.2                                ...           a year ago
  • 2.5.1                                ...           a year ago
  • 2.5.0                                ...           a year ago
  • 2.2.1                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.8                                ...           a year ago
  • 2.1.7                                ...           a year ago
  • 2.1.6                                ...           a year ago
  • 2.1.5                                ...           a year ago
  • 2.1.4                                ...           a year ago
  • 2.1.3                                ...           a year ago
  • 2.1.2                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 0.1.4-alpha.1                                ...           a year ago
  • 0.1.2-alpha                                ...           a year ago
  • 0.1.1-alpha                                ...           a year ago
  • 0.1.0-alpha                                ...           a year ago
Downloads
Today 8
This Week 8
This Month 8
Last Day 0
Last Week 7
Last Month 78
Dependencies (24)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |