cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MergeCmd = &cobra.Command{
	Use:   "merge",
	Short: "Merge pull requests.",
	Long:  "Merge pull requests with a specified branch name in an organization and with specified conditions.",
	Args:  cobra.NoArgs,
	RunE:  merge,
}

MergeCmd merges pull requests

View Source
var RootCmd = &cobra.Command{
	Use:   "multi-gitter",
	Short: "Multi gitter is a tool for making changes into multiple git repositories",
}

RootCmd is the root command containing all subcommands

View Source
var RunCmd = &cobra.Command{
	Use:   "run [script path]",
	Short: "Clones multiple repostories, run a script in that directory, and creates a PR with those changes.",
	Long:  "Run will clone down multiple repositories. For each of those repositories, the script will be run. If the script finished with a zero exit code, and the script resulted in file changes, a pull request will be created with.",
	Args:  cobra.ExactArgs(1),
	RunE:  run,
}

RunCmd is the main command that runs a script for multiple repositories and creates PRs with the changes made

View Source
var StatusCmd = &cobra.Command{
	Use:   "status",
	Short: "Get the status of pull requests.",
	Long:  "Get the status of all pull requests with a specified branch name in an organization.",
	Args:  cobra.NoArgs,
	RunE:  status,
}

StatusCmd gets statuses of pull requests

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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