Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SetupCmd = &cobra.Command{ Use: "setup", Short: "Initialize the default config file", Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { path, err := Run(Options{ Force: force, Prompts: terminalPrompts{}, }) if err != nil { return err } fmt.Fprintf(cmd.OutOrStdout(), "Config written to %s\n", path) return nil }, }
SetupCmd initializes the default config file.
Functions ¶
func SetConfigTemplate ¶
func SetConfigTemplate(bs []byte)
Types ¶
Click to show internal directories.
Click to hide internal directories.