shell

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LivePrefixState struct {
	LivePrefix string
	IsEnable   bool
}

LivePrefixState is a struct for auto-completion

Functions

func ExecuteAndGetResult

func ExecuteAndGetResult(s string) string

ExecuteAndGetResult executes an command line string `s` and capture its outputs.

func WithShellModule

func WithShellModule() cmdr.ExecOption

WithShellModule adds `shell` sub-command to cmdr system

Types

This section is empty.

Jump to

Keyboard shortcuts

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