Documentation ¶
Index ¶
- Constants
- func Action() (string, error)
- func Fork() (bool, error)
- func GitRemote(remotes []local.Remote) (string, error)
- func MainBranch(branches []string) (string, error)
- func Project(configs []config.Configuration) (*config.Configuration, error)
- func PullRequest(pulls map[string][]types.PullRequest, all bool) (int, error)
- func RemotePulRequest(prs []*github.PullRequest) (int, error)
- func Username() (string, error)
Constants ¶
View Source
const ( ActionList = "list" ActionCheckout = "checkout" ActionRemove = "remove" ActionProjects = "projects" )
Action name.
View Source
const ( // ExitLabel name. ExitLabel = "exit" // ExitValue representation. ExitValue = 0 // AllValue representation. AllValue = math.MaxInt32 )
Variables ¶
This section is empty.
Functions ¶
func MainBranch ¶ added in v3.5.0
MainBranch Choose the main branch of the repository.
func Project ¶
func Project(configs []config.Configuration) (*config.Configuration, error)
Project Choose a project in the list.
func PullRequest ¶
PullRequest Choose a PR in the list.
func RemotePulRequest ¶
func RemotePulRequest(prs []*github.PullRequest) (int, error)
RemotePulRequest Choose a PR in the list from GitHub.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.