batcmd

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: MulanPSL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommitCmd = &cobra.Command{
	Use:   "commit",
	Short: "commit",
	Run:   commit,
}
var PbCmd = &cobra.Command{
	Use:   "pb",
	Short: "pb",
	Run:   pb,
}

Functions

func InjectCmdService

func InjectCmdService(s *CmdService)

func LoadCmdService

func LoadCmdService() baseiface.ISingleton

Types

type CmdService

type CmdService struct {
	basedto.BaseEntitySingle
}

func FindBeanCmdService

func FindBeanCmdService() *CmdService

func NewCmdService

func NewCmdService() *CmdService

func (*CmdService) DoCmd

func (c *CmdService) DoCmd(cmd string) ([]byte, error)

Jump to

Keyboard shortcuts

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