Skip to main content

Get help

These commands allow you to get help.

CommandDescription
liblab helpGet help with the liblab CLI
liblab --versionSee the current version of the CLI

liblab help

Display help for the liblab CLI, including the current version, and the available commands.

liblab help

This will output the following:

The official liblab CLI

USAGE
$ liblab [COMMAND]
$ liblab [COMMAND] --help

DOCS
https://developers.liblab.com/

COMMANDS

Auth
login Log-in or register a user in liblab
logout Log-out the current user
reset-password Reset your password.
token Create/delete long lived tokens for CI/CD operations

Build
build Build SDK(s) and Docs for your API.
init Create a liblab configuration file ready to generate an SDK.
validate Validate spec file
hooks Bootstrap sdk hooks

Publish
pr Create a PR for all the generated SDKs.

Support
help Display help for liblab.

If you want help for an individual command, you can run it with --help. For example:

liblab build --help

This will provide help on using the build command:

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

liblab --version

You can use liblab --version to get the current version of the CLI:

liblab --version

This will output the current version of the CLI:

liblab/0.16.0 darwin-arm64 node-v18.14.2