@mandragora-hub/cli
v0.0.18
Published
CLI tool for management Litterarum assets.
Downloads
1
Readme
CLI tools
This tool is used to management Litterarum. It provides a way to create, remove and edit different types of assets, for example books and authors.
Setup
The minimum supported version of Node.js is v14
Install ai shell:
npm install -g @builder.io/ai-shell
Retrieve your API key from OpenAI
Note: If you haven't already, you'll have to create an account and set up billing.
Set the key so ai-shell can use it:
ai-shell config set OPENAI_KEY=<your token>
This will create a
.ai-shell
file in your home directory.
Usage
ai <prompt>
For example:
ai list all log file
Then you will get an output like this, where you can choose to run the suggested command, revise the command via a prompt, or cancel:
Upgrading
Check the installed version with:
ai-shell --version
If it's not the latest version, run:
npm update -g @builder.io/ai-shell
License
Licensed under the APLv2. See the LICENSE file for details.