the0 CLI
The the0 CLI is the primary interface for deploying custom bots and managing bot instances on the0 platform. It handles authentication, dependency vendoring, compilation, and deployment.
Command Groups
The CLI is organized into three command groups:
auth - Manage authentication and configuration
bash
the0 auth login # Set API key
the0 auth logout # Remove API key
the0 auth status # Check authentication status
the0 auth config <url> # Configure API endpoint
the0 auth secrets # Manage build secretscustom-bot - Deploy and manage custom bot definitions
bash
the0 custom-bot deploy # Deploy from current directory
the0 custom-bot list # List deployed custom bots
the0 custom-bot versions <name> # List versions of a custom bot
the0 custom-bot schema <version> <name> # Get schema for a custom botbot - Manage bot instances
bash
the0 bot deploy <config.json> # Deploy a bot instance
the0 bot list # List bot instances
the0 bot update <id> <config> # Update instance configuration
the0 bot delete <id> # Delete an instance
the0 bot logs <id> # View instance logsGlobal Flags
All commands support the following flags:
bash
-v, --verbose Enable verbose output
-h, --help Show help for any commandDocumentation
- Installation - Install the CLI
- Authentication - Configure API credentials
- Bot Commands - Bot instance management reference
- Custom Bot Commands - Custom bot deployment reference
- Secrets - Configure private dependencies