commands

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type About

type About struct {
	markup.Component `class:"cli-handler"`

	Context application.Context `inject:"context"`
}

About “关于”命令,显示应用的相关信息

func (*About) Handle

func (inst *About) Handle(ctx *cli.TaskContext) error

Handle ...

func (*About) Init

func (inst *About) Init(service cli.Service) error

Init ...

type FindRepo

type FindRepo struct {
	markup.Component `class:"cli-handler"`
}

FindRepo 命令用于在文件系统中查找git仓库

func (*FindRepo) GetHelpInfo

func (inst *FindRepo) GetHelpInfo() *cli.CommandHelpInfo

GetHelpInfo ...

func (*FindRepo) Handle

func (inst *FindRepo) Handle(ctx *cli.TaskContext) error

Handle ...

func (*FindRepo) Init

func (inst *FindRepo) Init(service cli.Service) error

Init ...

type GitProxyCommand

type GitProxyCommand struct {
	markup.Component `class:"cli-handler"`
}

func (*GitProxyCommand) GetHelpInfo

func (inst *GitProxyCommand) GetHelpInfo() *cli.CommandHelpInfo

func (*GitProxyCommand) Handle

func (inst *GitProxyCommand) Handle(task *cli.TaskContext) error

func (*GitProxyCommand) Init

func (inst *GitProxyCommand) Init(service cli.Service) error

type Roots

type Roots struct {
	markup.Component `class:"cli-handler"`
}

func (*Roots) GetHelpInfo

func (inst *Roots) GetHelpInfo() *cli.CommandHelpInfo

func (*Roots) Handle

func (inst *Roots) Handle(ctx *cli.TaskContext) error

func (*Roots) Init

func (inst *Roots) Init(service cli.Service) error

type Shell

type Shell struct {
	markup.Component `class:"cli-handler"`
}

func (*Shell) GetHelpInfo

func (inst *Shell) GetHelpInfo() *cli.CommandHelpInfo

func (*Shell) Handle

func (inst *Shell) Handle(ctx *cli.TaskContext) error

func (*Shell) Init

func (inst *Shell) Init(service cli.Service) error

Jump to

Keyboard shortcuts

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