cmd

package
v3.8.20+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: MIT Imports: 8 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: fmt.Sprintf(`
%s is a git extension that provides an extra set of commands, enabling you to:
create, work on and deliver tasks.

USAGE: git phlow COMMAND

`, ui.Format.Bold("git-phlow")),
	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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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