
Create a new workspace
Runag ws create to create a new workspace, the command will ask your for a starter template and workspace name.
Start workspace resources
Runag ws up to start i.e. create workspace resources
Stop workspace resources
Runag ws down to stop i.e. delete workspace resources
Patch workspace resources
Runag ws patch to patch i.e. update workspace resources
The
patch command in under development for some resources. Use restart if neededRestart workspace
Runag ws restart to stop resources and start them again
Setup existing workspace
If you clone the codebase directly (eg: if your coworker created it) - runag ws setup to set it up locally
Command Options
Run
ag ws up --help to view all optionsEnvironment (--env)
Use the --env or -e flag to filter the environment (dev/prd)
Infra (--infra)
Use the --infra or -i flag to filter the infra (docker/aws/k8s)
Group (--group)
Use the --group or -g flag to filter by resource group.
Name (--name)
Use the --name or -n flag to filter by resource name
Type (--type)
Use the --type or -t flag to filter by resource type.
Dry Run (--dry-run)
The --dry-run or -dr flag can be used to dry-run the command. ag ws up -dr will only print resources, not create them.
Show Debug logs (--debug)
Use the --debug or -d flag to show debug logs.
Force recreate images & containers (-f)
Use the --force or -f flag to force recreate images & containers