Skip to main content

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

  1. Login:
wowsql login
  1. List projects:
wowsql projects list
  1. Set default project:
wowsql projects set-default sample-d92fd8e6
  1. Query database:
wowsql db query "SELECT * FROM users LIMIT 10"

Commands

Authentication

  • wowsql login - Login to WoWSQL
  • wowsql logout - Logout
  • wowsql auth status - Show authentication status

Projects

  • wowsql projects list - List all projects
  • wowsql projects create <name> - Create new project
  • wowsql projects get <slug> - Get project details
  • wowsql projects set-default <slug> - Set default project

Database

  • wowsql db tables list - List all tables
  • wowsql db query "<sql>" - Execute SQL query
  • wowsql db insert <table> --data '{"key": "value"}' - Insert data
  • wowsql db export <table> --output data.json - Export table data

Migrations

  • wowsql migration new <name> - Create new migration
  • wowsql migration up - Apply pending migrations
  • wowsql migration down - Rollback last migration
  • wowsql migration status - Show migration status

Storage

  • wowsql storage list - List files
  • wowsql storage upload <file> - Upload file
  • wowsql storage download <path> - Download file

Local Development

  • wowsql start - Start local environment
  • wowsql stop - Stop local environment
  • wowsql 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

wowsql_cli-1.0.0.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wowsql_cli-1.0.0-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

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

Hashes for wowsql_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c512439c97259b4c99467ed9efca3e70029a340c463d2e9cefae03eac2252e2b
MD5 4364148889d2b4f2f6aa53c3d55e222d
BLAKE2b-256 ee45851747f4ea4fea39f8fda5e2cb426cc1182b7300aa69acf083a84baaf7c5

See more details on using hashes here.

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

Hashes for wowsql_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8399cd3d6c8a6e168c8759406c3947214b662a8f665d55ae51e6be00f5dc52e5
MD5 9d50cbcad2c78e7e468b74431d00e9eb
BLAKE2b-256 24b7113ddbed04057f4e95686abf8e5745316f01e821765c119beed32f4f134b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page