handler

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main() error

Types

type Arg

type Arg struct {
	Name     string
	Usage    string
	Default  string
	Env      string
	Required bool
}

type Config

type Config struct {
	Tasks []Task
}

type Flag

type Flag struct {
	Name     string
	Short    string
	Usage    string
	Default  string
	Env      string
	Type     string
	Required bool
}

type Task

type Task struct {
	Name        string
	Short       string
	Description string
	Usage       string
	Flags       []Flag
	Args        []Arg
	Environment map[string]string
	Script      string
}

Jump to

Keyboard shortcuts

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