cli

package
v0.0.54 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Execute(command string) task.Promise
	ExecuteWithArguments(args []string) task.Promise
}

Client 是用于执行命令的 API

type Handler

type Handler interface {
}

type Service

type Service interface {
	FindHandler(name string) (Handler, error)
}

type Task

type Task interface {
	Execute() error
	ExecuteWithArguments(args []string) error
}

Jump to

Keyboard shortcuts

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