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
| Command | Usage | Description | 
|---|---|---|
getlit init | here | getlit init | ๐ Initialise a new Lit project | 
getlit build | getlit build | ๐ Build your Lit Actions | 
getlit new | action | getlit new [<lit-action-name>] | ๐ Create a new Lit Action | 
getlit test | getlit test [<lit-action-name>] | ๐งช Test a Lit Action | 
getlit watch | getlit watch [<lit-action-name>] | ๐ง Simultaneously build and test a Lit Action | 
getlit setup | getlit setup | ๐ Setup config for authSig and PKP | 
getlit docs | doc | getlit docs | ๐ Open the Lit Protocol documentation | 
getlit help |  show | help | ๐ Show the help menu | 
Usageโ
To use the GetLit CLI, simply run the desired command followed by any required or optional arguments. The CLI will execute the associated function and display the output accordingly.