mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-08 14:54:51 -05:00
cli: minor cleanup in root cmd init
This commit is contained in:
parent
8d73aab0ce
commit
1408b36db7
1 changed files with 1 additions and 3 deletions
|
|
@ -52,10 +52,8 @@ func signalContext(ctx context.Context, sig os.Signal) (context.Context, context
|
|||
|
||||
func init() {
|
||||
cobra.EnableCommandSorting = false
|
||||
// Set output of cmd.Print to stdout.
|
||||
// Set output of cmd.Print to stdout. (By default, it's stderr.)
|
||||
rootCmd.SetOut(os.Stdout)
|
||||
// Disable --no-description flag for completion command.
|
||||
rootCmd.CompletionOptions.DisableNoDescFlag = true
|
||||
rootCmd.PersistentFlags().String("dev-config", "", "Set this flag to create the Constellation using settings from a development config.")
|
||||
rootCmd.AddCommand(newCreateCmd())
|
||||
rootCmd.AddCommand(newInitCmd())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue