0.0.18 • Published 2 years ago

@mandragora-hub/cli v0.0.18

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

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

  1. Install ai shell:

    npm install -g @builder.io/ai-shell
  2. Retrieve your API key from OpenAI

    Note: If you haven't already, you'll have to create an account and set up billing.

  3. 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.