Docs Menu
Docs Home
/ /
Atlas CLI
/

atlas completion

Generate the autocompletion script for the specified shell

Public Preview: The atlas api sub-command, automatically generated from the MongoDB Atlas Admin API, offers full coverage of the Admin API and is currently in Public Preview (please provide feedback at https://feedback.mongodb.com/forums/930808-atlas-cli). Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.

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

  • 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

On this page