Versions in this module Expand all Collapse all v0 v0.0.1 Oct 14, 2016 Changes in this version + func ExitErr(err string) error + func NewConsoleCommand() *cobra.Command + func PanicErr(err string) error + func StopErr(err string) error + func WarnErr(err string) error + type Shell struct + func New() *Shell + func (s *Shell) Active() bool + func (s *Shell) ClearScreen() error + func (s *Shell) Commands() []string + func (s *Shell) IgnoreCase(ignore bool) + func (s *Shell) Print(val ...interface{}) + func (s *Shell) PrintCommands() + func (s *Shell) Println(val ...interface{}) + func (s *Shell) ReadLine() string + func (s *Shell) ReadMultiLines(terminator string) string + func (s *Shell) ReadMultiLinesFunc(f func(string) bool) string + func (s *Shell) ReadPassword() string + func (s *Shell) Register(command *cobra.Command) + func (s *Shell) RegisterGeneric(function *cobra.Command) + func (s *Shell) RegisterInterrupt(function *cobra.Command) + func (s *Shell) SetHistoryPath(path string) error + func (s *Shell) SetHomeHistoryPath(path string) + func (s *Shell) SetMultiPrompt(prompt string) + func (s *Shell) SetOut(writer io.Writer) + func (s *Shell) SetPrompt(prompt string) + func (s *Shell) ShowPrompt(show bool) + func (s *Shell) Start() + func (s *Shell) Stop() + func (s *Shell) Unregister(command string)