feat: add mongocli plugin (#9248)
parent
27bf831843
commit
9a9f383192
2 changed files with 23 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||||
|
# mongocli plugin |
||||||
|
|
||||||
|
The plugin adds several aliases for common [mongocli](https://docs.mongodb.com/mongocli/stable/) commands. |
||||||
|
|
||||||
|
To use it, add `mongocli` to the plugins array of your zshrc file: |
||||||
|
|
||||||
|
```zsh |
||||||
|
plugins=(... mongocli) |
||||||
|
``` |
||||||
|
|
||||||
|
## Aliases |
||||||
|
|
||||||
|
| Alias | Command | Description | |
||||||
|
|----------|-------------------------------------------------------------|--------------------------------------------------------| |
||||||
|
| `ma` | `mongocli atlas` | Shortcut for mongocli Atlas commands. | |
||||||
|
| `mcm` | `mongocli cloud-manager` | Shortcut for mongocli Cloud Manager commands. | |
||||||
|
| `mom` | `mongocli ops-manager` | Shortcut for mongocli Cloud Manager commands. | |
||||||
|
| `miam` | `mongocli iam` | Shortcut for mongocli IAM commands. | |
||||||
|
|
||||||
@ -0,0 +1,4 @@ |
|||||||
|
alias ma='mongocli atlas' |
||||||
|
alias mcm='mongocli cloud-manager' |
||||||
|
alias mom='mongocli ops-manager' |
||||||
|
alias miam='mongocli iam' |
||||||
Loading…
Reference in new issue