cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	PropertiesCmd PropertiesCmd `command:"properties" description:"Show the job properties"`
	SpecCmd       SpecCmd       `command:"spec" description:"Show the job or release manifests"`
}

func (*Cmd) Execute

func (c *Cmd) Execute(extra []string) error

type PropertiesCmd

type PropertiesCmd struct {
	Jobs []string `long:"job" description:"Show properties for a specific job"`
}

func (*PropertiesCmd) Execute

func (c *PropertiesCmd) Execute(_ []string) error

type SpecCmd

type SpecCmd struct {
	ReleaseOnly bool     `long:"release" description:"Show only release manifest"`
	Jobs        []string `long:"job" description:"Show spec files for a specific job"`
}

func (*SpecCmd) Execute

func (c *SpecCmd) Execute(_ []string) error

Jump to

Keyboard shortcuts

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