Skip to content

Instantly share code, notes, and snippets.

@macdonst
Created March 28, 2016 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save macdonst/d9b02b2eed56f11ef1f3 to your computer and use it in GitHub Desktop.
Save macdonst/d9b02b2eed56f11ef1f3 to your computer and use it in GitHub Desktop.
# Cordova Magic Commands
conjure() {
cordova create $1 $2 $3
cd $1
}
alias conjure=conjure
summon() {
cordova platform add $1
}
alias summon=summon
banish() {
cordova platform rm $1
}
alias banish=banish
enchant() {
cordova plugin add $1
}
alias enchant=enchant
curse() {
cordova plugin rm $1
}
alias curse=curse
mix() {
cordova build $1
}
alias mix=mix
cast() {
cordova run $1
}
alias cast=cast
spells() {
cordova platforms
cordova plugins
}
alias spells=spells
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment