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/--pass
- abra app config $APPNAME
- abra app secret generate $APPNAME -aflags:- -p/--pass,- -a/--all
- abra 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 $APPNAME
- abra app rm --volumes $APPNAMEflags:- -f/--force,- -V/--volumes
add/remove server
- abra server add $SERVER $USERNAME $SSH_PORTflags:- -p/--provision,- -l/--local
- abra server remove $SERVERflags:- -s/--server
upgrade abra
- abra upgradeflags:- --rc
upgrade a recipe
- abra recipe upgrade $RECIPEflags:- -x,y,z/--major,minor,patch
- abra recipe sync $RECIPEflags:- -x,y,z
- abra 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]