Atlas CLIリポジトリからGithub をインストールします。
パブリック プレビュー: MongoDB Atlas Admin APIから自動的に生成される Atlas APIサブコマンドは、Admin APIの完全なカバレッジを提供し、現在パブリック プレビュー段階です(フィードバックでフィードバックを提供してくださいフォーラム/930808-Atlas-cli)。管理API機能には独自のリリース ライフサイクルがあり、提供されているAPIエンドポイントのドキュメント リンクから確認できます。
Atlas CLIリポジトリから プラグインをインストールします。GithubGithub リポジトリを指定するには、"<github-owner> /"github-repository-name>"<github-repository-name> 形式または完全な URL を使用します。プラグインをインストールすると、 Github上の最新リリースがデフォルトで使用されます。 プラグインの特定のバージョンをインストールするには、 @ 記号を使用してプラグイン名にバージョン番号を直接追加します。
MongoDB provides an example plugin: https://github.com/mongodb/atlas-cli-plugin-example
構文
atlas plugin install [<github-owner>/<github-repository-name>] [options]
Arguments
名前 | タイプ | 必須 | 説明 |
---|---|---|---|
<github-owner>/<github-repository-name> | string | false | リポジトリ識別子。 |
オプション
名前 | タイプ | 必須 | 説明 |
---|---|---|---|
-h, --help | false | インストール用のヘルプ | |
--skipSignatureVerification | false | 署名の検証をスキップします。 |
継承されたオプション
名前 | タイプ | 必須 | 説明 |
---|---|---|---|
-P, --profile | string | false | 構成ファイルから使用するプロファイルの名前。 Atlas CLI のプロファイルの詳細については、 https://docub.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