mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 09:41:20 +08:00
Feature/ionic plugin aliases (#8494)
* Add DS_Store to gitignore * Add ionic aliases * Add ionic plugin readme
This commit is contained in:
parent
016dd30f4c
commit
b0be0439e5
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ custom/
|
|||
cache/
|
||||
log/
|
||||
*.swp
|
||||
.DS_Store
|
||||
|
|
30
plugins/ionic/README.md
Normal file
30
plugins/ionic/README.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Ionic plugin
|
||||
|
||||
This plugin adds completion for the [Ionic CLI](https://ionicframework.com/docs/cli),
|
||||
as well as some aliases for common Ionic commands.
|
||||
|
||||
To use it, add `ionic` to the plugins array in your zshrc file:
|
||||
|
||||
```zsh
|
||||
plugins=(... ionic)
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
|-------|--------------------------------------|------------------------------------------------------------------|
|
||||
| iv | `ionic --version` | Check Ionic version |
|
||||
| ih | `ionic --help` | Ionic help command |
|
||||
| ist | `ionic start` | Create a new project |
|
||||
| ii | `ionic info` | Print system/environment info |
|
||||
| is | `ionic serve` | Start a local dev server for app dev/testing |
|
||||
| icba | `ionic cordova build android` | Build web assets and prepare app for android platform targets |
|
||||
| icbi | `ionic cordova build ios` | Build web assets and prepare app for ios platform targets |
|
||||
| icra | `ionic cordova run android` | Run an Ionic project on a connected android device |
|
||||
| icri | `ionic cordova run ios` | Run an Ionic project on a connected ios device |
|
||||
| icrsa | `ionic cordova resources android` | Automatically create icon and splash screen resources for android|
|
||||
| icrsi | `ionic cordova resources ios` | Automatically create icon and splash screen resources for ios |
|
||||
| icpaa | `ionic cordova platform add android` | Add Cordova android platform targets |
|
||||
| icpai | `ionic cordova platform add ios` | Add Cordova ios platform targets |
|
||||
| icpra | `ionic cordova platform rm android` | Remove Cordova platform targets |
|
||||
| icpri | `ionic cordova platform rm ios` | Remove Cordova platform targets |
|
15
plugins/ionic/ionic.plugin.zsh
Normal file
15
plugins/ionic/ionic.plugin.zsh
Normal file
|
@ -0,0 +1,15 @@
|
|||
alias iv="ionic --version"
|
||||
alias ih="ionic --help"
|
||||
alias ist="ionic start"
|
||||
alias ii="ionic info"
|
||||
alias is="ionic serve"
|
||||
alias icba="ionic cordova build android"
|
||||
alias icbi="ionic cordova build ios"
|
||||
alias icra="ionic cordova run android"
|
||||
alias icri="ionic cordova run ios"
|
||||
alias icrsa="ionic cordova resources android"
|
||||
alias icrsi="ionic cordova resources ios"
|
||||
alias icpaa="ionic cordova platform add android"
|
||||
alias icpai="ionic cordova platform add ios"
|
||||
alias icpra="ionic cordova platform rm android"
|
||||
alias icpri="ionic cordova platform rm ios"
|
Loading…
Reference in New Issue
Block a user