others

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(h Actions) []*cobra.Command

Commands builds system command set (gc, version, completion).

Types

type Actions

type Actions interface {
	GC(cmd *cobra.Command, args []string) error
	Version(cmd *cobra.Command, args []string) error
}

Actions defines cross-cutting system operations.

type Handler

type Handler struct {
	cmdcore.BaseHandler
}

func (Handler) GC

func (h Handler) GC(cmd *cobra.Command, _ []string) error

func (Handler) Version

func (h Handler) Version(_ *cobra.Command, _ []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL