config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const FileName = ".maestro.json"

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig() string

Types

type Alias

type Alias struct {
	Description string `json:"description"`
	Command     string `json:"command,omitempty"`
	Name        string
	Platform    string `json:"platform,omitempty"`
	Type        string `json:"type"`
}

func (Alias) Document

func (a Alias) Document() (*[]byte, error)

type Config

type Config struct {
	Aliases map[string]Alias
}

func Load

func Load(path string) (*Config, error)

Jump to

Keyboard shortcuts

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