forked from toolshed/docs.coopcloud.tech
1.3 KiB
1.3 KiB
title
| title |
|---|
| Cheat sheet |
Abra cheat sheet
!!! info not all flags are listed here.
!!! warning Definitely set up autocomplete or you'll be sad
`abra autocomplete bash/zsh/fizsh`
create and deploy a new app:
abra app new $RECIPEflags:-s/--server,-D/--domain,-S/--secrets,-p/--passabra app config $APPNAMEabra app secret generate $APPNAME -aflags:-p/--pass,-a/--allabra app deploy $APPNAMEflags:-f/--force,-C/--chaos
undeploy and remove an app
- back up any data you don't want to lose
abra app undeploy $APPNAMEabra app rm --volumes $APPNAMEflags:-f/--force,-V/--volumes
add/remove server
abra server add $SERVER $USERNAME $SSH_PORTflags:-p/--provision,-l/--localabra server remove $SERVERflags:-s/--server
upgrade abra
abra upgradeflags:--rc
upgrade a recipe
abra recipe upgrade $RECIPEflags:-x,y,z/--major,minor,patchabra recipe sync $RECIPEflags:-x,y,zabra recipe release $RECIPE [$VERSION]flags:-p/--publish,-r/--dry-run,-x,y,z
make a change to a recipe
- edit the files in
~/.abra/recipe/$RECIPENAME - deploy the changed version to your test instance
- determine how serious your change is (semver.org for reference)
abra recipe release $RECIPE [$VERSION]