An open API service indexing awesome lists of open source software.

https://github.com/lit-protocol/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.
https://github.com/lit-protocol/getlit

cli decentralised ipfs litprotocol

Last synced: about 1 year ago
JSON representation

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.

Awesome Lists containing this project

README

          

# GetLit CLI

![](https://raw.githubusercontent.com/LIT-Protocol/getlit/main/banner.png)

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.

- GitHub repo: https://github.com/LIT-Protocol/getlit
- npm: https://www.npmjs.com/getlit

## 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 []` | ๐Ÿ“ Create a new Lit Action |
| `test` | `getlit test []` | ๐Ÿงช Test a Lit Action |
| `watch` | `getlit watch []` | ๐Ÿ”ง 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 |