cmd

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2018 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type AppetizeYaml added in v1.1.0

type AppetizeYaml struct {
	ApiToken string
	Platform string
}

func (AppetizeYaml) Update added in v1.1.0

func (yaml AppetizeYaml) Update() error

type PromptReader added in v1.1.0

type PromptReader struct {
	Instruction           string
	AdditionalInstruction string
	DefaultValue          string
}

func (PromptReader) Prompt added in v1.1.0

func (reader PromptReader) Prompt() (string, error)

Jump to

Keyboard shortcuts

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