config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mission

type Mission struct {
	Env   map[string]string `mapstructure:"env"`
	Tasks map[string]Task   `mapstructure:"tasks"`
}

func ParseConfig

func ParseConfig(name string) (*Mission, error)

type Task

type Task struct {
	Desc string            `mapstructure:"desc"`
	Env  map[string]string `mapstructure:"env"`
	Run  string            `mapstructure:"run"`
}

Jump to

Keyboard shortcuts

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