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

atlas plugin install

Atlas CLI从Github 存储库安装 插件。

公共预览版: Atlas API子命令从MongoDB Atlas Admin API自动生成,提供对 Admin API的全面覆盖,目前处于公共预览阶段(请通过以下网址提供反馈:https://反馈.mongodb.com/forum/930808-Atlas-cli)。Admin API功能有自己的发布生命周期,您可以通过提供的API端点文档链接进行检查。

Atlas CLI从Github 存储库安装 插件。您可以使用Github "<github-owner> /<github-repository-name> " 格式或完整 指定URL 存储库。安装该插件时,默认使用其在Github上的最新版本。 要安装特定版本的插件,请使用 @ 符号将版本号直接附加到插件名称后。

MongoDB提供了示例插件:https://github.com/mongodb/atlas-cli-插件- 示例

命令语法
atlas plugin install [<github-owner>/<github-repository-name>] [options]
名称
类型
必需
说明

<github-owner>/<github-repository-name>

字符串

false

存储库标识符。

名称
类型
必需
说明

-h,--help

false

安装帮助

--skipSignatureVerification

false

跳过签名验证。

名称
类型
必需
说明

-P, --profile

字符串

false

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

# Install the latest version of the plugin:
atlas plugin install mongodb/atlas-cli-plugin-example
atlas plugin install https://github.com/mongodb/atlas-cli-plugin-example
# Install a specific version of the plugin:
atlas plugin install mongodb/atlas-cli-plugin-example@1.0.4
atlas plugin install https://github.com/mongodb/atlas-cli-plugin-example/@v1.2.3

在此页面上