A simple oh-my-zsh plugin that provides handy aliases for Apache Cordova commands, inspired by git-style shortcuts (gco, gcb, etc).
| Command | Alias |
|---|---|
cordova |
co |
cordova build |
cb |
cordova run |
cr |
cordova emulate |
ce |
cordova prepare |
cp |
cordova compile |
cc |
cordova serve |
cs |
cordova platform |
cpf |
cordova platform add |
cpfa |
cordova platform rm |
cpfr |
cordova platform update |
cpfu |
cordova plugin |
cpl |
cordova plugin add |
cpla |
cordova plugin rm |
cplr |
cordova plugin update |
cplu |
cordova plugin list |
cpll |
cordova requirements |
creq |
cordova requirements android |
creqa |
cordova requirements ios |
creqi |
Clone this repo into your oh-my-zsh custom plugins folder:
git clone https://github.com/andredestro/cordova-zsh-plugin.git ~/.oh-my-zsh/custom/plugins/cordovaThen enable it in your ~/.zshrc:
plugins=(git cordova)Reload zsh:
source ~/.zshrcIf you use Zinit:
zinit light andredestro/cordova-zsh-pluginIf you use Antigen:
antigen bundle andredestro/cordova-zsh-pluginIf you use Zplug:
zplug "andredestro/cordova-zsh-plugin"Pull requests are welcome! Feel free to suggest new aliases or improvements.
MIT