shell

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 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