commands

package
v0.0.3-dev Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanRun

func CleanRun(ctx *core.PromptContext)

func CloseRun

func CloseRun(ctx *core.PromptContext)

func ExecRun

func ExecRun(ctx *core.PromptContext)

func HelpRun

func HelpRun(ctx *core.PromptContext)

func PrintRun

func PrintRun(ctx *core.PromptContext) *core.AlertContext

func ShowInfo

func ShowInfo(info *CommandInfo)

Types

type CommandInfo

type CommandInfo struct {
	Name            string
	Version         string
	Author          string
	Description     string
	LongDescription string
}

func CleanInfo

func CleanInfo() *CommandInfo

func CloseInfo

func CloseInfo() *CommandInfo

func ExecInfo

func ExecInfo() *CommandInfo

func PrintInfo

func PrintInfo() *CommandInfo

Jump to

Keyboard shortcuts

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