run

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2016 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Overview

Package run is a front-end to govendor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelpMessage

type HelpMessage byte
const (
	MsgNone HelpMessage = iota
	MsgFull
	MsgInit
	MsgList
	MsgAdd
	MsgUpdate
	MsgRemove
	MsgFetch
	MsgStatus
	MsgSync
	MsgMigrate
	MsgGet
	MsgLicense
	MsgGovendorLicense
)

func Get

func Get(w io.Writer, subCmdArgs []string) (HelpMessage, error)

func GoCmd

func GoCmd(subcmd string, args []string) (HelpMessage, error)

func Init

func Init(w io.Writer, subCmdArgs []string) (HelpMessage, error)

func License added in v1.0.1

func License(w io.Writer, subCmdArgs []string) (HelpMessage, error)

func List

func List(w io.Writer, subCmdArgs []string) (HelpMessage, error)

func Migrate

func Migrate(w io.Writer, subCmdArgs []string) (HelpMessage, error)

func Modify

func Modify(w io.Writer, subCmdArgs []string, mod context.Modify, ask prompt.Prompt) (HelpMessage, error)

func Run

func Run(w io.Writer, appArgs []string, ask prompt.Prompt) (HelpMessage, error)

Run is isoloated from main and os.Args to help with testing. Shouldn't directly print to console, just write through w.

func Status

func Status(w io.Writer, subCmdArgs []string) (HelpMessage, error)

func Sync

func Sync(w io.Writer, subCmdArgs []string) (HelpMessage, error)

Jump to

Keyboard shortcuts

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