The official command-line interface for FastDB, a fast and efficient database management tool.
FastDB CLI provides a command-line interface to interact with FastDB databases. It offers features for authentication, database management, and query execution.
Install the FastDB CLI using pip:
pip install -e .- Authentication: Login and logout functionality for secure access
- Database Management: Create, list, and manage databases
- Query Execution: Run queries directly from the command line
- Status Monitoring: Check authentication and connection status
fastdb loginfastdb db listfastdb use <database-name>fastdb db list --tablesfastdb run <query>fastdb statusfastdb login- Login to FastDBfastdb logout- Logout from FastDBfastdb status- Show current authentication status
fastdb db list- List all available databasesfastdb db list --tables- List all tables in the current databasefastdb use <database>- Select a database to work withfastdb run <query>- Execute a queryfastdb db- Access database management commands
- typer - Modern Python CLI framework
- requests - HTTP library for API communication
- rich - Rich text and beautiful formatting in the terminal
fastdb/
├── __init__.py # Package initialization
├── main.py # Main CLI application entry point
├── auth.py # Authentication commands (login, logout, status)
├── actions.py # Action commands (use, run)
├── db.py # Database management commands
├── config.py # Configuration management
└── __pycache__/ # Python cache directory
To set up the development environment:
- Clone the repository
- Install dependencies:
pip install -e . - Start developing and testing commands with
fastdb
FastDB CLI - Version 0.1.0