提交 2df316ab 编写于 作者: J Jingwen Owen Ou

Add gh browse stub

上级 3798e781
package commands
var cmdBrowse = &Command{
Run: browse,
Usage: "browse [-u [USER/]REPOSITORY] [-p SUBPAGE]",
Short: "Open a GitHub page in the default browser",
Long: `Open repository's GitHub page in the system's default web browser using
open(1) or the BROWSER env variable. If the repository isn't specified,
browse opens the page of the repository found in the current directory.
If SUBPAGE is specified, the browser will open on the specified subpage:
one of "wiki", "commits", "issues" or other (the default is "tree").
`,
}
func browse(cmd *Command, args []string) {
}
......@@ -42,6 +42,7 @@ func (c *Command) List() bool {
var All = []*Command{
cmdPullRequest,
cmdCiStatus,
cmdBrowse,
cmdHelp,
cmdVersion,
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册