~egtann/up

up/up.go -rw-r--r-- 320 bytes
8be49268 — Evan Tann update usage text 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package up

type CmdName string

// Config represents a parsed Upfile.
type Config struct {
	// Commands available to run grouped by command name.
	Commands map[string][]string

	// DefaultCommand is the first command in the Upfile.
	DefaultCommand string

	// Vars defined in the config file.
	Vars map[string]string
}