CLI
The ZendBX CLI lets you manage projects, run backups, and analyze your database from the terminal.
Installation
bash
pip install zendbx-cli
# or
pip install -e "git+https://github.com/zengomadrid-ui/zendbx-.git#egg=zendbx-cli&subdirectory=zendbx-cli"Connect to a Project
bash
zendbx connect --url https://api.zendbx.in --key YOUR_API_KEYCommands
bash
# Project management
zendbx status # Show current connection and project
zendbx init # Initialize a new project
# Database
zendbx db dump --output backup.sql # Dump database to SQL file
zendbx db restore --input backup.sql # Restore from SQL file
zendbx db analyze # Analyze table statistics
zendbx db fix # Auto-fix common SQL issues💡Run
zendbx --help or zendbx <command> --help for full usage information.
