promputils

package
v2.3.20181123+incompat... Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendCommand

func AppendCommand(text, desc string)

func AppendOpt

func AppendOpt(text, cmd, desc string)

func AppendPos

func AppendPos(text, cmd, desc string)

func Completer

func Completer(d prompt.Document) []prompt.Suggest

func ExecuteAndGetResult

func ExecuteAndGetResult(s string) (string, error)

func Executor

func Executor(s string)

func InitEnv

func InitEnv(_parser *structarg.ArgumentParser, _session *mcclient.ClientSession)

Types

type Cmd

type Cmd struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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