@fsteam/octopus-cli
v2.0.6
Published
A CLI to generate krakend endpoints
Readme
Octopus
A CLI to generate krakend endpoints
Install
With npm
npm i -g @fsteam/octopus-cliWith yarn
yarn global add @fsteam/octopus-cliOverview
Commands:
octo init Generates yaml configuration file for the cli
octo openapi Generates api gateway endpoints from OpenApi DocumentationUsage
- Init
octo init
Generates octopus yaml configuration file
Options:
-h, --help Show help [boolean]
-o, --output Choose where to generate the endpoints [string]
-c, --config The krakend root configuration file [string]- Openapi
octo openapi
Generates api gateway endpoints from OpenApi Documentation
Options:
-h, --help Show help [boolean]
-u, --url URL of the OpenApi Documentation [string]
-f, --file Yaml file of the OpenApi Documentation [string]
-g, --graphql [boolean] [default: false]
-p, --project Project name of the current application [string] [required]