Docs Menu
Docs Home
/ /
Atlas CLI
/

atlas completion

On this page

  • Options
  • Inherited Options
  • Related Commands

Generate the autocompletion script for the specified shell

Generate the autocompletion script for atlas 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 the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings.

  • atlas completion bash - Generate the autocompletion script for bash

  • atlas completion fish - Generate the autocompletion script for fish

  • atlas completion powershell - Generate the autocompletion script for powershell

  • atlas completion zsh - Generate the autocompletion script for zsh

Back

watch