feat: add mongocli plugin (#9248)

This commit is contained in:
Gustavo Bazan 2021-02-21 06:29:54 +00:00 committed by GitHub
parent 27bf831843
commit 9a9f383192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -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. |

View File

@ -0,0 +1,4 @@
alias ma='mongocli atlas'
alias mcm='mongocli cloud-manager'
alias mom='mongocli ops-manager'
alias miam='mongocli iam'