constellation/cli/internal/cmd/config.go

19 lines
339 B
Go
Raw Normal View History

package cmd
import (
"github.com/spf13/cobra"
)
2022-06-08 02:14:28 -04:00
func NewConfigCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "config",
2022-05-18 13:01:11 -04:00
Short: "Work with the Constellation configuration file",
Long: "Generate a configuration file for Constellation.",
Args: cobra.ExactArgs(0),
}
cmd.AddCommand(newConfigGenerateCmd())
return cmd
}