definitions

package
v0.0.0-...-b8eea77 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: GPL-3.0 Imports: 0 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 {
	Description string                `yaml:"description"`
	Template    string                `yaml:"template"`
	Parameters  map[string]Parameters `yaml:"parameters"`
}

type Parameters

type Parameters struct {
	Default     string            `yaml:"default"`
	Description string            `yaml:"description"`
	Values      map[string]string `yaml:"values"`
}

type PotatoConfig

type PotatoConfig struct {
	Path       string
	AlwaysSudo bool               `yaml:"always_sudo"`
	Commands   map[string]Command `yaml:"commands"`
	Shell      string             `yaml:"shell"`
	User       string             `yaml:"user"`
	Editor     string             `yaml:"editor"`
}

Jump to

Keyboard shortcuts

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