{"_id":"@arthuravianna/lit-cli","_rev":"2-0da505f2d3cacc72f182acf6c57bd7da","name":"@arthuravianna/lit-cli","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@arthuravianna/lit-cli","version":"0.0.1","keywords":["oclif"],"author":{"name":"Arthur Vianna"},"license":"MIT","_id":"@arthuravianna/lit-cli@0.0.1","maintainers":[{"name":"arthuravianna","email":"arthurvianna@id.uff.br"}],"homepage":"https://github.com/lit/lit-cli","bugs":{"url":"https://github.com/lit/lit-cli/issues"},"bin":{"lit":"bin/run.js"},"dist":{"shasum":"d635c0ee135c43db79759556e513733353060d91","tarball":"https://registry.npmjs.org/@arthuravianna/lit-cli/-/lit-cli-0.0.1.tgz","fileCount":24,"integrity":"sha512-MA9P5HDatmx0gnDgXNYO9qI3BkytJCQ3s9Kfv/sazSn1D+YL0hWQHUB8kL18xS0Jd7AXG6bkSDLL5/MAGac2AA==","signatures":[{"sig":"MEUCIE05V1SKZhwbnyIUxQV7uIKhJykpcPm+yFmgaDH7BG0HAiEAnrOH18SUffACc0LvWMO1EEv/VpnQQB1N3w/9rBWZUGI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36915},"main":"dist/index.js","type":"module","oclif":{"bin":"lit","topics":{"hello":{"description":"Say hello to the world and others"}},"dirname":"lit","plugins":["@oclif/plugin-help","@oclif/plugin-plugins"],"commands":"./dist/commands","topicSeparator":" "},"types":"dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"d7a308f65c40547f38cfb878fdc3623a424bd4e3","scripts":{"lint":"eslint","test":"mocha --forbid-only \"test/**/*.test.ts\"","build":"shx rm -rf dist && tsc -b","prepack":"oclif manifest && oclif readme","version":"oclif readme && git add README.md","postpack":"shx rm -f oclif.manifest.json","posttest":"npm run lint"},"_npmUser":{"name":"arthuravianna","email":"arthurvianna@id.uff.br"},"repository":{"url":"git+https://github.com/lit/lit-cli.git","type":"git"},"_npmVersion":"11.6.1","description":"A Lit CLI tool to create Vincent Abilities and Policies","directories":{},"_nodeVersion":"22.20.0","dependencies":{"ora":"^9.0.0","giget":"^2.0.0","dotenv":"^17.2.3","esbuild":"^0.25.11","log-update":"^7.0.1","@oclif/core":"^4","ipfs-only-hash":"^4.0.0","@oclif/plugin-help":"^6","@oclif/plugin-plugins":"^5","@lit-protocol/esbuild-plugin-polyfill-node":"^0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"shx":"^0.3.3","chai":"^4","mocha":"^10","oclif":"^4","eslint":"^9","ts-node":"^10","typescript":"^5","@oclif/test":"^4","@types/chai":"^4","@types/node":"^18","@types/mocha":"^10","@eslint/compat":"^1","eslint-config-oclif":"^6","@oclif/prettier-config":"^0.2.1","eslint-config-prettier":"^10"},"_npmOperationalInternal":{"tmp":"tmp/lit-cli_0.0.1_1761802209125_0.06449961114542124","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@arthuravianna/lit-cli","description":"A Lit CLI tool to create Vincent Abilities and Policies","version":"0.0.2","author":{"name":"Arthur Vianna"},"bin":{"lit":"bin/run.js"},"bugs":{"url":"https://github.com/arthuravianna/lit-cli/issues"},"dependencies":{"@lit-protocol/esbuild-plugin-polyfill-node":"^0.3.0","@oclif/core":"^4","@oclif/plugin-help":"^6","@oclif/plugin-plugins":"^5","dotenv":"^17.2.3","esbuild":"^0.25.11","giget":"^2.0.0","ipfs-only-hash":"^4.0.0","log-update":"^7.0.1","ora":"^9.0.0"},"devDependencies":{"@eslint/compat":"^1","@oclif/prettier-config":"^0.2.1","@oclif/test":"^4","@types/chai":"^4","@types/mocha":"^10","@types/node":"^18","chai":"^4","eslint":"^9","eslint-config-oclif":"^6","eslint-config-prettier":"^10","mocha":"^10","oclif":"^4","shx":"^0.3.3","ts-node":"^10","typescript":"^5"},"engines":{"node":">=18.0.0"},"homepage":"https://github.com/arthuravianna/lit-cli","keywords":["oclif"],"license":"MIT","main":"dist/index.js","type":"module","oclif":{"bin":"lit","dirname":"lit","commands":"./dist/commands","plugins":["@oclif/plugin-help","@oclif/plugin-plugins"],"topicSeparator":" ","topics":{"hello":{"description":"Say hello to the world and others"}}},"repository":{"type":"git","url":"git+https://github.com/arthuravianna/lit-cli.git"},"scripts":{"build":"shx rm -rf dist && tsc -b","lint":"eslint","postpack":"shx rm -f oclif.manifest.json","posttest":"npm run lint","prepack":"oclif manifest && oclif readme","test":"mocha --forbid-only \"test/**/*.test.ts\"","version":"oclif readme && git add README.md"},"types":"dist/index.d.ts","gitHead":"d7050e31767cb456dd52be40e50fd0d966146500","_id":"@arthuravianna/lit-cli@0.0.2","_nodeVersion":"22.20.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-jtOUx6gvOb9v+uJenojB7CXHwYl9WCkfG3ZiLqhKxudtUKK8AqcgsLKxA3vcQoEJppkU7SVfi1NH5ZXXMxFIAw==","shasum":"96cef72116f7c8ab9c1abad9005338f36ca03a0b","tarball":"https://registry.npmjs.org/@arthuravianna/lit-cli/-/lit-cli-0.0.2.tgz","fileCount":24,"unpackedSize":36868,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHZBx0DU1eoMe69XKW7LeEwA26Kjhb+RqBO6f8pmpebmAiEA+SzYlWrkkxIg5OtAq0+Po3O2sg1xvWJsm4DDmQwqWLI="}]},"_npmUser":{"name":"arthuravianna","email":"arthurvianna@id.uff.br"},"directories":{},"maintainers":[{"name":"arthuravianna","email":"arthurvianna@id.uff.br"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lit-cli_0.0.2_1761831064236_0.011255634302401729"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-30T05:30:09.010Z","modified":"2025-10-30T13:31:04.918Z","0.0.1":"2025-10-30T05:30:09.323Z","0.0.2":"2025-10-30T13:31:04.447Z"},"bugs":{"url":"https://github.com/arthuravianna/lit-cli/issues"},"author":{"name":"Arthur Vianna"},"license":"MIT","homepage":"https://github.com/arthuravianna/lit-cli","keywords":["oclif"],"repository":{"type":"git","url":"git+https://github.com/arthuravianna/lit-cli.git"},"description":"A Lit CLI tool to create Vincent Abilities and Policies","maintainers":[{"name":"arthuravianna","email":"arthurvianna@id.uff.br"}],"readme":"lit-cli\n=================\n\nA command-line interface for building, deploying, and managing Lit Protocol projects. This CLI helps developers create Vincent Abilities and Vincent Policies, build them for deployment, and deploy them to IPFS.\n\n[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)\n[![Version](https://img.shields.io/npm/v/lit-cli.svg)](https://npmjs.org/package/lit-cli)\n[![Downloads/week](https://img.shields.io/npm/dw/lit-cli.svg)](https://npmjs.org/package/lit-cli)\n\n\n<!-- toc -->\n* [Usage](#usage)\n* [What is lit-cli?](#what-is-lit-cli)\n* [Typical Workflow](#typical-workflow)\n* [Commands](#commands)\n<!-- tocstop -->\n# Usage\n<!-- usage -->\n```sh-session\n$ npm install -g @arthuravianna/lit-cli\n$ lit COMMAND\nrunning command...\n$ lit (--version)\n@arthuravianna/lit-cli/0.0.2 linux-x64 node-v22.20.0\n$ lit --help [COMMAND]\nUSAGE\n  $ lit COMMAND\n...\n```\n<!-- usagestop -->\n\n# What is lit-cli?\n\nThe Lit CLI is a developer tool for building and deploying projects on the Lit Protocol network. It provides functionality to:\n\n- **Create Vincent Abilities**: Initialize new Vincent Ability projects from templates\n- **Build Projects**: Bundle and compile Lit Protocol projects for deployment\n- **Deploy to IPFS**: Upload compiled Lit Actions to IPFS via Pinata with automatic CID generation and verification\n\n# Typical Workflow\n\n1. **Create a new project**:\n   ```bash\n   lit create vincent-ability my-awesome-ability\n   ```\n\n2. **Build your project**:\n   ```bash\n   cd my-awesome-ability\n   lit build\n   ```\n\n3. **Deploy to IPFS**:\n   ```bash\n   lit deploy --pinata-jwt your-jwt-token\n   ```\n\nThe CLI handles template downloading, project scaffolding, esbuild compilation, IPFS CID generation, and deployment to Pinata automatically.\n\n# Commands\n<!-- commands -->\n* [`lit build`](#lit-build)\n* [`lit create vincent-ability PROJECT`](#lit-create-vincent-ability-project)\n* [`lit create vincent-policy [FILE]`](#lit-create-vincent-policy-file)\n* [`lit deploy`](#lit-deploy)\n* [`lit help [COMMAND]`](#lit-help-command)\n* [`lit plugins`](#lit-plugins)\n* [`lit plugins add PLUGIN`](#lit-plugins-add-plugin)\n* [`lit plugins:inspect PLUGIN...`](#lit-pluginsinspect-plugin)\n* [`lit plugins install PLUGIN`](#lit-plugins-install-plugin)\n* [`lit plugins link PATH`](#lit-plugins-link-path)\n* [`lit plugins remove [PLUGIN]`](#lit-plugins-remove-plugin)\n* [`lit plugins reset`](#lit-plugins-reset)\n* [`lit plugins uninstall [PLUGIN]`](#lit-plugins-uninstall-plugin)\n* [`lit plugins unlink [PLUGIN]`](#lit-plugins-unlink-plugin)\n* [`lit plugins update`](#lit-plugins-update)\n\n## `lit build`\n\nbuild and test the lit project\n\n```\nUSAGE\n  $ lit build [--noTest]\n\nFLAGS\n  --noTest  skip e2e tests\n\nDESCRIPTION\n  build and test the lit project\n\nEXAMPLES\n  $ lit build\n```\n\n_See code: [src/commands/build.ts](https://github.com/arthuravianna/lit-cli/blob/v0.0.2/src/commands/build.ts)_\n\n## `lit create vincent-ability PROJECT`\n\nInitialize a project template to create a Vincent ability\n\n```\nUSAGE\n  $ lit create vincent-ability PROJECT [-n <value>] [-d <value>]\n\nARGUMENTS\n  PROJECT  project name\n\nFLAGS\n  -d, --description=<value>  Vincent Ability Description\n  -n, --npm_package=<value>  Vincent Ability npm package name\n\nDESCRIPTION\n  Initialize a project template to create a Vincent ability\n\nEXAMPLES\n  $ lit create vincent-ability\n```\n\n_See code: [src/commands/create/vincent-ability.ts](https://github.com/arthuravianna/lit-cli/blob/v0.0.2/src/commands/create/vincent-ability.ts)_\n\n## `lit create vincent-policy [FILE]`\n\nInitialize a project template to create a Vincent policy\n\n```\nUSAGE\n  $ lit create vincent-policy [FILE] [-f] [-n <value>]\n\nARGUMENTS\n  [FILE]  project name\n\nFLAGS\n  -f, --force\n  -n, --name=<value>  name to print\n\nDESCRIPTION\n  Initialize a project template to create a Vincent policy\n\nEXAMPLES\n  $ lit create vincent-policy\n```\n\n_See code: [src/commands/create/vincent-policy.ts](https://github.com/arthuravianna/lit-cli/blob/v0.0.2/src/commands/create/vincent-policy.ts)_\n\n## `lit deploy`\n\nDeploy the bundled Lit Action to IPFS (via Pinata) and NPM\n\n```\nUSAGE\n  $ lit deploy -f <value> [-j <value>]\n\nFLAGS\n  -f, --envFile=<value>    (required) [default: .env] use .env file\n  -j, --pinataJwt=<value>  Pinata JWT token (overrides .env file)\n\nDESCRIPTION\n  Deploy the bundled Lit Action to IPFS (via Pinata) and NPM\n\nEXAMPLES\n  $ lit deploy\n```\n\n_See code: [src/commands/deploy.ts](https://github.com/arthuravianna/lit-cli/blob/v0.0.2/src/commands/deploy.ts)_\n\n## `lit help [COMMAND]`\n\nDisplay help for lit.\n\n```\nUSAGE\n  $ lit help [COMMAND...] [-n]\n\nARGUMENTS\n  [COMMAND...]  Command to show help for.\n\nFLAGS\n  -n, --nested-commands  Include all nested commands in the output.\n\nDESCRIPTION\n  Display help for lit.\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.34/src/commands/help.ts)_\n\n## `lit plugins`\n\nList installed plugins.\n\n```\nUSAGE\n  $ lit plugins [--json] [--core]\n\nFLAGS\n  --core  Show core plugins.\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  List installed plugins.\n\nEXAMPLES\n  $ lit plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.51/src/commands/plugins/index.ts)_\n\n## `lit plugins add PLUGIN`\n\nInstalls a plugin into lit.\n\n```\nUSAGE\n  $ lit plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]\n\nARGUMENTS\n  PLUGIN...  Plugin to install.\n\nFLAGS\n  -f, --force    Force npm to fetch remote resources even if a local copy exists on disk.\n  -h, --help     Show CLI help.\n  -s, --silent   Silences npm output.\n  -v, --verbose  Show verbose npm output.\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  Installs a plugin into lit.\n\n  Uses npm to install plugins.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  Use the LIT_NPM_LOG_LEVEL environment variable to set the npm loglevel.\n  Use the LIT_NPM_REGISTRY environment variable to set the npm registry.\n\nALIASES\n  $ lit plugins add\n\nEXAMPLES\n  Install a plugin from npm registry.\n\n    $ lit plugins add myplugin\n\n  Install a plugin from a github url.\n\n    $ lit plugins add https://github.com/someuser/someplugin\n\n  Install a plugin from a github slug.\n\n    $ lit plugins add someuser/someplugin\n```\n\n## `lit plugins:inspect PLUGIN...`\n\nDisplays installation properties of a plugin.\n\n```\nUSAGE\n  $ lit plugins inspect PLUGIN...\n\nARGUMENTS\n  PLUGIN...  [default: .] Plugin to inspect.\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  Displays installation properties of a plugin.\n\nEXAMPLES\n  $ lit plugins inspect myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.51/src/commands/plugins/inspect.ts)_\n\n## `lit plugins install PLUGIN`\n\nInstalls a plugin into lit.\n\n```\nUSAGE\n  $ lit plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]\n\nARGUMENTS\n  PLUGIN...  Plugin to install.\n\nFLAGS\n  -f, --force    Force npm to fetch remote resources even if a local copy exists on disk.\n  -h, --help     Show CLI help.\n  -s, --silent   Silences npm output.\n  -v, --verbose  Show verbose npm output.\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  Installs a plugin into lit.\n\n  Uses npm to install plugins.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  Use the LIT_NPM_LOG_LEVEL environment variable to set the npm loglevel.\n  Use the LIT_NPM_REGISTRY environment variable to set the npm registry.\n\nALIASES\n  $ lit plugins add\n\nEXAMPLES\n  Install a plugin from npm registry.\n\n    $ lit plugins install myplugin\n\n  Install a plugin from a github url.\n\n    $ lit plugins install https://github.com/someuser/someplugin\n\n  Install a plugin from a github slug.\n\n    $ lit plugins install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.51/src/commands/plugins/install.ts)_\n\n## `lit plugins link PATH`\n\nLinks a plugin into the CLI for development.\n\n```\nUSAGE\n  $ lit plugins link PATH [-h] [--install] [-v]\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nFLAGS\n  -h, --help          Show CLI help.\n  -v, --verbose\n      --[no-]install  Install dependencies after linking the plugin.\n\nDESCRIPTION\n  Links a plugin into the CLI for development.\n\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'\n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\n\nEXAMPLES\n  $ lit plugins link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.51/src/commands/plugins/link.ts)_\n\n## `lit plugins remove [PLUGIN]`\n\nRemoves a plugin from the CLI.\n\n```\nUSAGE\n  $ lit plugins remove [PLUGIN...] [-h] [-v]\n\nARGUMENTS\n  [PLUGIN...]  plugin to uninstall\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Removes a plugin from the CLI.\n\nALIASES\n  $ lit plugins unlink\n  $ lit plugins remove\n\nEXAMPLES\n  $ lit plugins remove myplugin\n```\n\n## `lit plugins reset`\n\nRemove all user-installed and linked plugins.\n\n```\nUSAGE\n  $ lit plugins reset [--hard] [--reinstall]\n\nFLAGS\n  --hard       Delete node_modules and package manager related files in addition to uninstalling plugins.\n  --reinstall  Reinstall all plugins after uninstalling.\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.51/src/commands/plugins/reset.ts)_\n\n## `lit plugins uninstall [PLUGIN]`\n\nRemoves a plugin from the CLI.\n\n```\nUSAGE\n  $ lit plugins uninstall [PLUGIN...] [-h] [-v]\n\nARGUMENTS\n  [PLUGIN...]  plugin to uninstall\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Removes a plugin from the CLI.\n\nALIASES\n  $ lit plugins unlink\n  $ lit plugins remove\n\nEXAMPLES\n  $ lit plugins uninstall myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.51/src/commands/plugins/uninstall.ts)_\n\n## `lit plugins unlink [PLUGIN]`\n\nRemoves a plugin from the CLI.\n\n```\nUSAGE\n  $ lit plugins unlink [PLUGIN...] [-h] [-v]\n\nARGUMENTS\n  [PLUGIN...]  plugin to uninstall\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Removes a plugin from the CLI.\n\nALIASES\n  $ lit plugins unlink\n  $ lit plugins remove\n\nEXAMPLES\n  $ lit plugins unlink myplugin\n```\n\n## `lit plugins update`\n\nUpdate installed plugins.\n\n```\nUSAGE\n  $ lit plugins update [-h] [-v]\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Update installed plugins.\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.51/src/commands/plugins/update.ts)_\n<!-- commandsstop -->\n","readmeFilename":"README.md"}