constellation/cli/cmd/config.go
Fabian Kammel 094a8b7659 Feat/config/generate (#136)
Implement config command & generate verb to write default configuration to file or stdout.
2022-05-12 15:14:52 +02:00

19 lines
346 B
Go

package cmd
import (
"github.com/spf13/cobra"
)
func newConfigCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "config",
Short: "Work with Constellation configuration file",
Long: "Generate & manipulate configuration file for Constellation.",
Args: cobra.ExactArgs(0),
}
cmd.AddCommand(newConfigGenerateCmd())
return cmd
}