cmd

package
v0.0.0-...-f63246b Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DryRun bool

DryRun defines whether the program must actually act, or just give feedback as acting.

View Source
var RootCmd = &cobra.Command{
	Use:   "o2m",
	Short: "Code review your pull requests",
	Long: `By running one2merge your repo's pull requests will get merged
according to the configuration file.`,
	Run: func(cmd *cobra.Command, args []string) {
		one2merge.Execute(DryRun)
	},
}

RootCmd represents the base command when called without any subcommands

Functions

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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