0.0.9 • Published 5 months ago

@hubai/cli v0.0.9

Weekly downloads
-
License
GPL
Repository
github
Last release
5 months ago

HubAI CLI

This is the CLI used for publishing and developing extensions and brains for HubAI platform.

Documentation

For the full documentation, please access: CLI Documentation

Getting Started

Installation

We recommend installing the CLI globally, so you can use it in any project.

npm install -g @hubai/cli

After the installation is complete, you can test the CLI by running:

hubai --help

If you have any errors, please check the Troubleshooting section or fill an issue.

Authentication

If you want to publish packages to Hubai, you need to authenticate first.

Login or create a new account by running:

hubai auth login

Follow the instructions and after the authentication is complete, you can check your credentials by running:

hubai auth status

Troubleshooting

Some Windows users might get the following error when executing the CLI for the first time:

 \hubai.ps1 cannot be loaded because running scripts is disabled on
this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1

To fix it, open a powershell window as admin, and then executing the following:

Set-ExecutionPolicy RemoteSigned