From 026254735ac97970eda7f487d5af4627dade6361 Mon Sep 17 00:00:00 2001 From: Youngjin Jo Date: Fri, 29 Nov 2024 10:05:28 +0900 Subject: [PATCH] chore: add settings cmd Signed-off-by: Youngjin Jo --- cmd/other/config.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/other/config.go b/cmd/other/config.go index 2209f83..d4e217d 100644 --- a/cmd/other/config.go +++ b/cmd/other/config.go @@ -48,9 +48,9 @@ var configInitURLCmd = &cobra.Command{ Short: "Initialize configuration with a URL", Long: `Specify a URL to initialize the environment configuration.`, Args: cobra.NoArgs, - Example: ` cfctl config init url -u https://spaceone.spaceone.megazone.io --app + Example: ` cfctl settings init url -u https://spaceone.spaceone.megazone.io --app or - cfctl config init url -u https://spaceone.spaceone.megazone.io --user`, + cfctl settings init url -u https://spaceone.spaceone.megazone.io --user`, Run: func(cmd *cobra.Command, args []string) { urlStr, _ := cmd.Flags().GetString("url") appFlag, _ := cmd.Flags().GetBool("app") @@ -128,9 +128,9 @@ var configInitLocalCmd = &cobra.Command{ Short: "Initialize configuration with a local environment", Long: `Specify a local environment name to initialize the configuration.`, Args: cobra.NoArgs, - Example: ` cfctl config init local -n local-cloudone --app + Example: ` cfctl settings init local -n local-cloudone --app or - cfctl config init local -n local-cloudone --user`, + cfctl settings init local -n local-cloudone --user`, Run: func(cmd *cobra.Command, args []string) { localEnv, _ := cmd.Flags().GetString("name") appFlag, _ := cmd.Flags().GetBool("app")