manifest

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create added in v0.7.0

func Create(projectPath string) error

Create writes a default project manifest in the specified path

func ExistsIn added in v0.7.0

func ExistsIn(path string) bool

Load returns a Manifest struct populated from a manifest file

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) (*Manifest, 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