 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
命令行补全 版本查看
命令行提示
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompletionCmd ¶
func VersionCmd ¶
Types ¶
type Action ¶
type Action struct {
	Suggest   prompt.Suggest
	Executor  ExecutorHandler
	Completer CompleterHandler
	// contains filtered or unexported fields
}
    func (*Action) AddSubAction ¶
type CompleterHandler ¶
type CompleterHandler func() ([]prompt.Suggest, bool)
type ExecutorHandler ¶
type ExecutorHandler func([]string)
type Prompt ¶
type Prompt struct {
	// contains filtered or unexported fields
}
    func (*Prompt) RegisterAction ¶
 Click to show internal directories. 
   Click to hide internal directories.