cmds

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const CommandArgsBypass = "test-cli-args-bypass"

Variables

This section is empty.

Functions

This section is empty.

Types

type BypassArgs

type BypassArgs struct {
	WantCmd  string
	WantArgs []string
}

func GetBypassArgs

func GetBypassArgs(ctx context.Context) *BypassArgs

type TestCommandHandler

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

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

func (*TestCommandHandler) Handle

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

func (*TestCommandHandler) Init

func (inst *TestCommandHandler) Init(s cli.Service) error

Jump to

Keyboard shortcuts

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