cmd

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "git-phlow",
	Short: "git extension for phlow workflow",
	Long: `
git-phlow is a git extension that provides an extra set of commands, enabling you to:
workon, deliver and create new tasks.
	`,
	Run: func(cmd *cobra.Command, args []string) {
		if options.GlobalFlagVersion != false {
			fmt.Println("phlow specification")
			fmt.Println("sha \t\t: " + options.Sha1)
			fmt.Println("version \t: " + options.Version)
			fmt.Println("date \t\t: " + options.Date)
			os.Exit(0)
		}

		fmt.Println(cmd.UsageString())
	},
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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