WoWSQL Command Line Interface
Project description
WoWSQL CLI
Command-line interface for managing WoWSQL backend services.
Installation
cd cli
pip install -e .
Or install from PyPI:
pip install wowsql-cli
Note: The CLI package is named wowsql_cli internally to avoid conflicts with the SDK's wowsql package, but the command is still wowsql.
Quick Start
- Login:
wowsql login
- List projects:
wowsql projects list
- Set default project:
wowsql projects set-default sample-d92fd8e6
- Query database:
wowsql db query "SELECT * FROM users LIMIT 10"
Commands
Authentication
wowsql login- Login to WoWSQLwowsql logout- Logoutwowsql auth status- Show authentication status
Projects
wowsql projects list- List all projectswowsql projects create <name>- Create new projectwowsql projects get <slug>- Get project detailswowsql projects set-default <slug>- Set default project
Database
wowsql db tables list- List all tableswowsql db query "<sql>"- Execute SQL querywowsql db insert <table> --data '{"key": "value"}'- Insert datawowsql db export <table> --output data.json- Export table data
Migrations
wowsql migration new <name>- Create new migrationwowsql migration up- Apply pending migrationswowsql migration down- Rollback last migrationwowsql migration status- Show migration status
Storage
wowsql storage list- List fileswowsql storage upload <file>- Upload filewowsql storage download <path>- Download file
Local Development
wowsql start- Start local environmentwowsql stop- Stop local environmentwowsql status- Check services status
Configuration
Configuration is stored in ~/.wowsql/config.yaml. You can manage multiple profiles for different environments.
Documentation
For complete documentation, see docs.wowsql.com/cli
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wowsql_cli-1.0.0.tar.gz.
File metadata
- Download URL: wowsql_cli-1.0.0.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c512439c97259b4c99467ed9efca3e70029a340c463d2e9cefae03eac2252e2b
|
|
| MD5 |
4364148889d2b4f2f6aa53c3d55e222d
|
|
| BLAKE2b-256 |
ee45851747f4ea4fea39f8fda5e2cb426cc1182b7300aa69acf083a84baaf7c5
|
File details
Details for the file wowsql_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: wowsql_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 38.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8399cd3d6c8a6e168c8759406c3947214b662a8f665d55ae51e6be00f5dc52e5
|
|
| MD5 |
9d50cbcad2c78e7e468b74431d00e9eb
|
|
| BLAKE2b-256 |
24b7113ddbed04057f4e95686abf8e5745316f01e821765c119beed32f4f134b
|