distinct setup/deploy scripts

This commit is contained in:
2026-01-13 13:14:02 +00:00
parent 86c5a4ef8d
commit 156af3d64c
3 changed files with 112 additions and 37 deletions

View File

@@ -60,7 +60,8 @@ func defaultCommands() []command {
return []command{
{name: "init", description: "start a new PocketBase project", action: runInit},
{name: "dev", description: "run the PocketBase binary locally", action: runDev},
{name: "deploy", description: "deploy the PocketBase project", action: runDeploy},
{name: "setup", description: "provision the remote server and install PocketBase", action: runSetup},
{name: "deploy", description: "sync migrations/hooks/static assets (runs setup if needed)", action: runDeploy},
{name: "logs", description: "show PocketBase logs", action: placeholderAction("logs")},
{name: "secrets", description: "manage deployment secrets", action: placeholderAction("secrets")},
}