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 (when available):

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 saravana-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-0.1.0.tar.gz (21.0 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-0.1.0-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file wowsql_cli-0.1.0.tar.gz.

File metadata

  • Download URL: wowsql_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for wowsql_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9edf3a96041006431ec71949b546cfd11b2ac50d190de8910dae923dd050cc6
MD5 6b3713cf977ea93c18042b820184f36a
BLAKE2b-256 b3073c1c37ba00d777cd554e2b5f352ba12c78829f6daba785b4ce7f21663a76

See more details on using hashes here.

File details

Details for the file wowsql_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wowsql_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.5 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-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37e2dbd94ea70535d173cc73696b6f42424fc550f00050b696252ec50742b571
MD5 e3ce1edff6e03ce13ad5c9f3db64cbd1
BLAKE2b-256 a6795acfa7591745ea52c1a58a940302140bce2851b3d7f2c6a5b6200e90f9ce

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