types

package
v0.0.0-...-0f41625 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Name    string   `json:"Name"`
	Aliases []string `json:"Aliases"`
	Usage   string   `json:"Usage"`
	Script  string   `json:"Script"`
	Default string   `json:"Default"`
}

type CommandId

type CommandId int

type Env

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

func NewEnv

func NewEnv() *Env

func (*Env) AddCommands

func (E *Env) AddCommands(file_path string) error

func (*Env) Exit

func (E *Env) Exit() bool

func (*Env) ScriptsList

func (E *Env) ScriptsList() ScriptsList

func (*Env) ToggleExit

func (E *Env) ToggleExit() bool

type ScriptsList

type ScriptsList []Command

Jump to

Keyboard shortcuts

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