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",
PersistentPreRunE: persistentPreRun,
}
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: runHelp, 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.
Click to show internal directories.
Click to hide internal directories.