Versions in this module Expand all Collapse all v0 v0.0.0 Jul 25, 2018 Changes in this version + func NewLoginCommand() *cobra.Command + func NewSetupCommand() *cobra.Command + func NewShellCommand() *cobra.Command + type Env struct + Sh *ishell.Shell + func NewEnv() (e *Env) + func (e *Env) AddCmd(cmd *ishell.Cmd) + func (e *Env) AddLogin() + func (e *Env) AddSetup() + func (e *Env) ConfirmRepl(c *ishell.Context, q string, or bool) bool + func (e *Env) GetStringRepl(c *ishell.Context, q, prompt string) string + func (e *Env) GetStringReplFunc(c *ishell.Context, q, prompt string, f func(string) bool) string + func (e *Env) GetStringReplNonEmpty(c *ishell.Context, q, prompt string) string + func (e *Env) PopPrompt() + func (e *Env) Print(val ...interface{}) + func (e *Env) Printf(format string, val ...interface{}) + func (e *Env) Println(val ...interface{}) + func (e *Env) Process(args ...string) + func (e *Env) PushPrompt(str string) + func (e *Env) Run()