manifest

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: MIT 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 {
	Run         string `yaml:"run"`
	Description string `yaml:"desc"`
}

Command is a representation of the `command` section of a manifest

type Manifest

type Manifest struct {
	Up       []interface{}       `yaml:"up"`
	Commands map[string]*Command `yaml:"commands"`
	Open     map[string]string   `yaml:"open"`
}

Manifest is a representation of the project manifest

func Load

func Load(path string) (m *Manifest, err error)

Load returns a Manifest struct populated from a manifest file

Jump to

Keyboard shortcuts

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