Docs Menu
Docs Home
/ /
MongoDB CLI
/

mongocli completion

On this page

  • Options
  • Inherited Options
  • Related Commands

Generate the autocompletion script for the specified shell

Generate the autocompletion script for mongocli for the specified shell. See each sub-command's help for details on how to use the generated script.

Name
Type
Required
Description
-h, --help
false
help for completion
Name
Type
Required
Description
-P, --profile
string
false
Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-configuration-file.
← mongocli cloud-manager servers list