diff --git a/cmd/clean.go b/cmd/clean.go new file mode 100644 index 0000000..f10ad4f --- /dev/null +++ b/cmd/clean.go @@ -0,0 +1,25 @@ +package cmd + +import ( + "log" + + "github.com/spf13/cobra" +) + +var ( + cleanCmd = &cobra.Command{ + Use: "clean", + Short: "Cleans all orphan configurations", + RunE: clean, + Example: `TODO: clean command example`, + } +) + +func init() { + rootCmd.AddCommand(cleanCmd) +} + +func clean(cmd *cobra.Command, args []string) error { + log.Panic("missing implementation") + return nil +} diff --git a/cmd/get.go b/cmd/get.go new file mode 100644 index 0000000..6621738 --- /dev/null +++ b/cmd/get.go @@ -0,0 +1,25 @@ +package cmd + +import ( + "log" + + "github.com/spf13/cobra" +) + +var ( + getCmd = &cobra.Command{ + Use: "get", + Short: "Gets given configuration from store", + RunE: get, + Example: `TODO: get command example`, + } +) + +func init() { + rootCmd.AddCommand(getCmd) +} + +func get(cmd *cobra.Command, args []string) error { + log.Panic("missing implementation") + return nil +}