cmd

package
v0.0.0-...-e07f5d7 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "nodetree",
	Short: "A node tree manager",
	Long: `A node tree manager

nodetree is a CLI that can manages nodes in a tree through API calls`,
}

This represents the base command when called without any subcommands

Functions

func ErrorExit

func ErrorExit(message string)

func ErrorExitWithUsage

func ErrorExitWithUsage(ctx *cobra.Command, message string)

func Execute

func Execute()

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

func RenderErrorSummary

func RenderErrorSummary(s *models.Stage)

func RenderQuietView

func RenderQuietView(progressChannel chan models.SyncProgress, wg *sync.WaitGroup)

simple view. No in place updates

func RenderSilentView

func RenderSilentView(progressChannel chan models.SyncProgress, wg *sync.WaitGroup)

silent view

Types

This section is empty.

Jump to

Keyboard shortcuts

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