プロファイルの名前を変更します。
構文
コマンド構文
mongocli config rename <oldProfileName> <newProfileName> [options] 
Arguments
| 名前 | タイプ | 必須 | 説明 | 
|---|---|---|---|
| oldProfileName | string | true | 名前を変更するプロファイルの名前。 | 
| newProfileName | string | true | プロファイルの新しい名前。 | 
オプション
| 名前 | タイプ | 必須 | 説明 | 
|---|---|---|---|
| -h, --help | false | 名前変更のヘルプ | 
継承されたオプション
| 名前 | タイプ | 必須 | 説明 | 
|---|---|---|---|
| -P, --profile | string | false | 構成ファイルから使用するプロファイルの名前。MongoCLI のプロファイルについては、 https://docub.mongodb.org/core/atlas-cli-configuration-file を参照してください。 | 
例
# Rename a profile called myProfile to testProfile: mongocli config rename myProfile testProfile