Introducing the BotHive CLI
For power users, the Graphical User Interface (GUI) can sometimes be a bottleneck. You want to script deployments, pipe logs to grep, and manage environment variables in bulk.
Meet bothive-cli.
Installation
1npm install -g bothive-cli 2bothive login
Key Commands
- Deploy: Push your local Hivelang files to production.
1bothive deploy ./src/bots/my-bot.hive - Logs: Stream live logs from your agents.
1bothive logs --follow --bot my-bot - Secrets: Manage API keys securely.
1bothive secrets set OPENAI_API_KEY=sk-...
CI/CD Integration
The CLI is designed to run in CI/CD pipelines. Authenticte using a service token and deploy your bots automatically whenever you merge to main.
Check out the GitHub Action to get started.