Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DownloadAssetCmd = &gcli.Command{ Name: "down", Desc: "checkout an new branch for development from `source` remote", Aliases: []string{"download"}, Func: func(c *gcli.Command, args []string) error { return errorx.New("TODO") }, }
DownloadAssetCmd instance
View Source
var GhOpts = struct { gitcmd.AutoChDir cmdbiz.CommonOpts }{}
GhOpts object
View Source
var GithubCmd = &gcli.Command{ Name: "github", Aliases: []string{"gh", "hub", "ghub"}, Desc: "useful tools for use github", Subs: []*gcli.Command{ DownloadAssetCmd, gitcmd.NewPullRequestCmd(), gitcmd.BatchCmd, gitcmd.NewBranchCmd(), gitcmd.NewCloneCmd(configProvider), gitcmd.NewAddCommitCmd(), gitcmd.NewAddCommitPush(), gitcmd.NewUpdateCmd(), gitcmd.NewUpdatePushCmd(), gitcmd.NewOpenRemoteCmd(configProvider), }, Config: func(c *gcli.Command) { GhOpts.BindCommonFlags(c) GhOpts.BindChdirFlags(c) c.On(events.OnCmdRunBefore, func(ctx *gcli.HookCtx) (stop bool) { c.Infoln("[kite.GHab] Workdir:", c.WorkDir()) return false }) c.On(events.OnCmdSubNotFound, gitcmd.RedirectToGitx) }, }
GithubCmd commands
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.