mongocli completion
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Generate shell completion scripts
Generate shell completion scripts for MongoDB CLI commands. The output of this command will be computer code and is meant to be saved to a file or immediately evaluated by an interactive shell.
When installing MongoDB CLI through brew, it's possible that no additional shell configuration is necessary, see https://docs.brew.sh/Shell-Completion.
Syntax
mongocli completion <bash|zsh|fish|powershell> [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for completion |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Auto generated by MongoDB CLI on 8-Jul-2021