Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs 菜单
Docs 主页
/ /
Atlas CLI
/ /

atlas 配置列表

按名称返回可用配置文件的列表。

如果没有为配置文件指定名称,则会显示为默认配置文件。

命令语法
atlas config list [options]
名称
类型
必需
说明

-h,--help

false

列表帮助

-o, --output

字符串

false

输出格式。 有效值为 json、json-path、go-template 或 go-template-file。 要查看完整输出,请使用 -o json 选项。

名称
类型
必需
说明

-P, --profile

字符串

false

要从配置文件中使用的配置文件的名称。 要了解 Atlas CLI 的配置文件,请参阅 https://dochub.mongodb.org/core/atlas-cli-save-connection-settings。

atlas config ls

后退

init

在此页面上