Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
9a9f3831
Unverified
Commit
9a9f3831
authored
Feb 21, 2021
by
Gustavo Bazan
Committed by
GitHub
Feb 20, 2021
Browse files
feat: add mongocli plugin (#9248)
parent
27bf8318
Changes
2
Show whitespace changes
Inline
Side-by-side
plugins/mongocli/README.md
0 → 100644
View file @
9a9f3831
# 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. |
plugins/mongocli/mongocli.plugin.zsh
0 → 100644
View file @
9a9f3831
alias
ma
=
'mongocli atlas'
alias
mcm
=
'mongocli cloud-manager'
alias
mom
=
'mongocli ops-manager'
alias
miam
=
'mongocli iam'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment