constellation/cli/internal/cmd/config.go
Fabian Kammel 050e8fdc4a AB#2159 Feat/cli/fetch measurements (#301)
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
2022-08-01 09:37:05 +02:00

20 lines
388 B
Go

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