0.0.18 • Published 2 years ago
@mandragora-hub/cli v0.0.18
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-shellRetrieve 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-shellfile in your home directory.
Usage
ai <prompt>For example:
ai list all log fileThen 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 --versionIf it's not the latest version, run:
npm update -g @builder.io/ai-shellLicense
Licensed under the APLv2. See the LICENSE file for details.