cmd

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: GPL-3.0 Imports: 22 Imported by: 0

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.

func Init

func Init(v, build string)

Init sets the version rewritten by the CI build and adds default sub commands

func OpenUI

func OpenUI(timeout time.Duration) error

OpenUI opens the browser with the UI.

Types

type Command

type Command struct {
	cli.PlainCommand
	cli.LogOptions `group:"Log Options"`
}

Command implements the default group flags. It is meant to be embedded into other application commands to provide default behavior for logging, config

Jump to

Keyboard shortcuts

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