mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-21 23:33:21 +01:00
feat: add mongocli plugin (#9248)
This commit is contained in:
parent
27bf831843
commit
9a9f383192
19
plugins/mongocli/README.md
Normal file
19
plugins/mongocli/README.md
Normal 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. |
|
||||
|
4
plugins/mongocli/mongocli.plugin.zsh
Normal file
4
plugins/mongocli/mongocli.plugin.zsh
Normal file
@ -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
Block a user