Projects
CLI Projects
Manage your WoWSQL projects from the command line
List Projects
View all your projects:
wowsql projects list
You can also use the shorter alias:
wowsql project list
Create Project
Create a project. WoWSQL generates the database password and the CLI prints it once; copy it now.
wowsql projects create my-app --description "My first app"
The --password option is ignored: the CLI never sends a password, so the server generates it. Use --format table|json|yaml to control output (the password is never included in the formatted output; it is printed separately).
Get, Update and Delete
wowsql projects get your-project-slug
wowsql projects update your-project-slug --name "New name" --description "New description"
wowsql projects delete your-project-slug # asks for confirmation
wowsql projects delete your-project-slug --force # skip confirmation
wowsql projects current # show the default project
Set Default Project
Set a project as the default for all commands:
wowsql projects set-default your-project-slug
After setting a default project, you can run commands without the --project flag.
Link Project
Link a project to your current directory. This allows you to run commands without specifying the project:
cd my-project
wowsql link my-project-slug
After linking, you can run commands from this directory without the --project flag.
Output Formats
List projects in JSON format (useful for scripting):
wowsql projects list --format json | jq '.[0].slug'