cmds

package
v0.0.0-...-2390bb2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2016 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package cmds defines and implements command-line commands and flags used by dvln. Commands and flags are implemented using the cobra CLI commander library (dvln/lib/3rd/cobra) which will be imported under "cli". The globals.go file contains globs (viper) package "globals" for the dvln tool

Package cmds defines and implements command-line commands and flags used by dvln. Commands and flags are implemented using the cobra CLI commander library (dvln/lib/3rd/cobra) which will be imported under "cli".

Package cmds get.go module implements the 'dvln get' subcommand framework for the 'cli' (aka: cobra) package. Lets get some packages!!!

Package cmds update.go module implements the 'dvln update' subcommand framework for the 'cli' (aka: cobra) package. Lets update some packages!!!

Index

Constants

This section is empty.

Variables

View Source
var Timer *analysis.B

Timer used by analysis code via the 'analysis' (nitro) pkg

Functions

func Execute

func Execute(sha1 string, args []string) int

Execute is called by main(), it basically finishes prepping the 'dvln' configuration data (combined with init() setting up options and available subcommands and such) and then kicks off the 'cli' (cobra) package to run subcommands and such via the dvlnCmd.Execute() call within the routine. Params:

sha1 (string): git commit sha1 of current workspace HEAD commit (or "")
args ([]string): cmd args to be processed

Types

This section is empty.

Jump to

Keyboard shortcuts

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