Skip to content

Commit

Permalink
chore: add settings cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Youngjin Jo <[email protected]>
  • Loading branch information
yjinjo committed Nov 29, 2024
1 parent 3e61002 commit 0262547
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/other/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 0262547

Please sign in to comment.