Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
The Official CLI for liblab
$ npm install -g liblab
$ liblab COMMAND
running command...
$ liblab (--version)
liblab/0.29.0 linux-x64 node-v20.10.0
$ liblab --help [COMMAND]
USAGE
$ liblab COMMAND
...
liblab build
liblab change-password
liblab help [COMMANDS]
liblab hooks add
liblab hooks remove
liblab init
liblab login
liblab logout
liblab pr
liblab token create TOKEN_NAME
liblab token list
liblab token revoke TOKEN_NAME
liblab validate
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 [-l java|python|typescript|csharp|go]
FLAGS
-l, --language=<option> The language to add hooks for
<options: java|python|typescript|csharp|go>
DESCRIPTION
Bootstrap an SDKs hooks.
EXAMPLES
$ liblab hooks add
$ liblab hooks add -l typescript
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
FAQs
The official liblab CLI
The npm package liblab receives a total of 233 weekly downloads. As such, liblab popularity was classified as not popular.
We found that liblab demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.