Documentation ¶ Index ¶ func Commands(h Actions) []*cobra.Command type Actions type Handler func (h Handler) GC(cmd *cobra.Command, _ []string) error func (h Handler) Version(_ *cobra.Command, _ []string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Commands ¶ func Commands(h Actions) []*cobra.Command Types ¶ type Actions ¶ type Actions interface { GC(cmd *cobra.Command, args []string) error Version(cmd *cobra.Command, args []string) error } type Handler ¶ type Handler struct { cmdcore.BaseHandler } Handler groups miscellaneous CLI commands (gc, version). func (Handler) GC ¶ func (h Handler) GC(cmd *cobra.Command, _ []string) error func (Handler) Version ¶ func (h Handler) Version(_ *cobra.Command, _ []string) error Source Files ¶ View all Source files commands.gohandler.go Click to show internal directories. Click to hide internal directories.