Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

liblab

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

liblab

The official libLab CLI

  • 0.22.0
  • npm
  • Socket score

Version published
Weekly downloads
120
decreased by-23.57%
Maintainers
1
Weekly downloads
 
Created
Source

liblab CLI

The Official CLI for liblab

oclif

Usage

$ npm install -g liblab
$ liblab COMMAND
running command...
$ liblab (--version)
liblab/0.22.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

Keywords

FAQs

Package last updated on 19 Oct 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc