package cmd import ( "log" "github.com/spf13/cobra" ) var editCmd = &cobra.Command{ Use: "edit", Short: "Edit an item", Long: ` `, Run: func(cmd *cobra.Command, args []string) { log.Fatal("not implemented") }, } func init() { rootCmd.AddCommand(editCmd) }