LibLab CLI
The Offical CLI for LibLab
Usage
$ npm install -g liblab
$ liblab COMMAND
running command...
$ liblab (--version)
liblab/0.9.20 darwin-arm64 node-v18.11.0
$ liblab --help [COMMAND]
USAGE
$ liblab COMMAND
...
Commands
liblab build
Build SDK(s) and Docs for your API.
USAGE
$ liblab build [--skip-validation] [--approve-docs]
FLAGS
--approve-docs Approve docs without review
--skip-validation Ignore validation and attempt to build specs
DESCRIPTION
Build SDK(s) and Docs for your API.
EXAMPLES
$ liblab build
See code: dist/commands/build/index.ts
liblab help [COMMANDS]
Display help for liblab.
USAGE
$ liblab help [COMMANDS] [-n]
ARGUMENTS
COMMANDS Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for liblab.
See code: @oclif/plugin-help
liblab hooks add
Bootstrap an SDKs hooks.
USAGE
$ liblab hooks add
DESCRIPTION
Bootstrap an SDKs hooks.
EXAMPLES
$ liblab hooks add
liblab hooks remove
Remove an SDK's hooks.
USAGE
$ liblab hooks remove
DESCRIPTION
Remove an SDK's hooks.
EXAMPLES
$ liblab hooks remove
liblab init
Create a liblab folder for housing files relevant to SDK and Doc generation.
USAGE
$ liblab init [-s <value>] [-f] [-g] [-h]
FLAGS
-f, --force Overwrite the config file if it already exists
-g, --github Add a Github Action to the directory
-h, --hooks Bootsrap LibLab hooks
-s, --spec=<value> The path or URL to your API spec
DESCRIPTION
Create a liblab folder for housing files relevant to SDK and Doc generation.
EXAMPLES
$ liblab init
$ liblab init --spec=spec.yaml
$ liblab init --github
See code: dist/commands/init/index.ts
liblab login
Login to your account.
USAGE
$ liblab login
DESCRIPTION
Login to your account.
EXAMPLES
$ liblab login
See code: dist/commands/login/index.ts
liblab logout
Logout of your account.
USAGE
$ liblab logout
DESCRIPTION
Logout of your account.
EXAMPLES
$ liblab logout
See code: dist/commands/logout/index.ts
liblab post-build
Run extra tasks after code generation.
USAGE
$ liblab post-build
DESCRIPTION
Run extra tasks after code generation.
EXAMPLES
$ liblab post-build
See code: dist/commands/post-build/index.ts
liblab pr
Create a PR for all the generated SDKs.
USAGE
$ liblab pr [-o <value>]
FLAGS
-o, --org=<value> The organization to create the PR in
DESCRIPTION
Create a PR for all the generated SDKs.
EXAMPLES
$ liblab pr -o {Github Organization Name}
See code: dist/commands/pr/index.ts
liblab register
Register for a new liblab account.
USAGE
$ liblab register
DESCRIPTION
Register for a new liblab account.
EXAMPLES
$ liblab register
See code: dist/commands/register/index.ts
liblab reset-password
Reset your password.
USAGE
$ liblab reset-password
DESCRIPTION
Reset your password.
EXAMPLES
$ liblab reset-password
See code: dist/commands/reset-password/index.ts
liblab token
Create a new login token for CI/CD.
USAGE
$ liblab token
DESCRIPTION
Create a new login token for CI/CD.
EXAMPLES
$ liblab token
See code: dist/commands/token/index.ts