cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvTempPack      = "FASTFOOD_TEMPLATE_PACK"
	EnvCookbooksPath = "COOKBOOKS"
)

Variables

This section is empty.

Functions

func DefaultCookbooksPath

func DefaultCookbooksPath() string

func DefaultTempPack

func DefaultTempPack() string

func MapArgs

func MapArgs(args []string) map[string]string

Translates key:value strings into a map

Types

type Builder

type Builder struct {
}

func (*Builder) Help

func (b *Builder) Help() string

func (*Builder) Run

func (b *Builder) Run(args []string) int

func (*Builder) Synopsis

func (b *Builder) Synopsis() string

type Common

type Common struct {
	TemplatePack string
	CookbookPath string
	Force        bool
}

Templatepack is the path to the templatepack CookbookPath is the path to cookbooks Manifest is loaded using LoadManifest

type Creator

type Creator struct {
}

func (*Creator) Help

func (c *Creator) Help() string

func (*Creator) Run

func (c *Creator) Run(args []string) int

func (*Creator) Synopsis

func (c *Creator) Synopsis() string

type Generator

type Generator struct {
}

func (*Generator) Help

func (g *Generator) Help() string

Autogenerate based on commands parsed

func (*Generator) Run

func (g *Generator) Run(args []string) int

func (*Generator) Synopsis

func (g *Generator) Synopsis() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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