/getlit

The GetLit CLI is a command-line tool designed to help developers manage their Lit Actions projects. The CLI provides a set of commands to create, build, test, and configure Lit Actions.

Primary LanguageTypeScript

GetLit CLI

The GetLit CLI is a command-line tool designed to help developers manage their Lit Actions projects. The CLI provides a set of commands to create, build, test, and configure Lit Actions.

Getting Started

npm install -g getlit

// or
yarn add global getlit

Usage

To use the GetLit CLI, navigate to a directory or your existing project, and then simply run the desired command followed by any required or optional arguments. The CLI will execute the associated function and display the output accordingly.

Command Usage Description
action | init getlit action ๐Ÿ Initialise a new Lit project
build getlit build ๐Ÿ— Build your Lit Actions
new getlit new [<lit-action-name>] ๐Ÿ“ Create a new Lit Action
test getlit test [<lit-action-name>] ๐Ÿงช Test a Lit Action
watch getlit watch [<lit-action-name>] ๐Ÿ”ง Simultaneously build and test a Lit Action
setup getlit setup ๐Ÿ”‘ Setup config for authSig and PKP
deploy getlit deploy Deploy your Lit Actions
derive getlit derive Derive a pkp pubkey with auth method data
pkp-search getlit pkp-search search for pkp information
docs | doc getlit docs ๐Ÿ“– Open the Lit Protocol documentation
help | show getlit help ๐Ÿ†˜ Show the help menu
create-next-app getlit create-next-app ๐Ÿ Initialise a new Lit next-app project
create-react-app getlit create-react-app ๐Ÿ Initialise a new Lit react-app project