liblab CLI
The Official CLI for liblab

Usage
$ npm install -g liblab
$ liblab COMMAND
running command...
$ liblab (--version)
liblab/0.25.0 linux-x64 node-v20.8.1
$ 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: src/commands/build/index.ts
liblab change-password
Retrieve url to change password for the current user
USAGE
$ liblab change-password
DESCRIPTION
Retrieve url to change password for the current user
EXAMPLES
$ liblab change-password
See code: src/commands/change-password/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: src/commands/help/index.ts
liblab hooks add
Bootstrap an SDKs hooks.
USAGE
$ liblab hooks add
DESCRIPTION
Bootstrap an SDKs hooks.
EXAMPLES
$ liblab hooks add
See code: src/commands/hooks/add.ts
liblab hooks remove
Remove an SDK's hooks.
USAGE
$ liblab hooks remove
DESCRIPTION
Remove an SDK's hooks.
EXAMPLES
$ liblab hooks remove
See code: src/commands/hooks/remove.ts
liblab init
Create a liblab configuration file ready to generate an SDK.
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 Bootstrap liblab hooks
-s, --spec=<value> The path or URL to your API spec
DESCRIPTION
Create a liblab configuration file ready to generate an SDK.
EXAMPLES
$ liblab init
$ liblab init --spec=spec.yaml
$ liblab init --github
See code: src/commands/init/index.ts
liblab login
Log-in or register a user in liblab
USAGE
$ liblab login
DESCRIPTION
Log-in or register a user in liblab
EXAMPLES
$ liblab login
See code: src/commands/login/index.ts
liblab logout
Log-out the current user
USAGE
$ liblab logout
DESCRIPTION
Log-out the current user
EXAMPLES
$ liblab logout
See code: src/commands/logout/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: src/commands/pr/index.ts
liblab token create TOKEN_NAME
Creates a long lived token for CI/CD operations
USAGE
$ liblab token create TOKEN_NAME [-d <value>]
FLAGS
-d, --durationInDays=<value> [default: 90] The amount of days the token will live, if not provided defaults to 90
DESCRIPTION
Creates a long lived token for CI/CD operations
EXAMPLES
$ liblab token create TOKEN_NAME
$ liblab token create TOKEN_NAME --durationInDays=364
$ liblab token create TOKEN_NAME -d=30
$ liblab token create TOKEN_NAME -d 30
See code: src/commands/token/create.ts
liblab token list
List all available tokens for the current environment
USAGE
$ liblab token list
DESCRIPTION
List all available tokens for the current environment
EXAMPLES
$ liblab token list
See code: src/commands/token/list.ts
liblab token revoke TOKEN_NAME
Revokes permission for a given token
USAGE
$ liblab token revoke TOKEN_NAME
DESCRIPTION
Revokes permission for a given token
EXAMPLES
$ liblab token revoke TOKEN_NAME
See code: src/commands/token/revoke.ts
liblab validate
Validate spec file
USAGE
$ liblab validate
DESCRIPTION
Validate spec file
EXAMPLES
$ liblab validate
See code: src/commands/validate/index.ts