Documentation ¶
Index ¶
Constants ¶
View Source
const ( REMOTE = "remote" ORIGIN = "origin" BRANCH = "branch" MASTER = "master" CLONE = "clone" INIT = "init" )
View Source
const ( PULL = "pull" MAKE = "make" PUSH = "push" TAG = "tag" ADD = "add" OPT = "opt" PRO = "pro" TAGS = "tags" DIFF = "diff" COMMIT = "commit" COMMENT = "comment" VERSION = "version" )
View Source
const CONFIG = "config"
View Source
const COUNT = "count"
View Source
const GIT = "git"
View Source
const REPOS = "repos"
View Source
const SERVER = "server"
View Source
const SPIDE = "spide"
View Source
const STATUS = "status"
View Source
const TOTAL = "total"
View Source
const TREND = "trend"
Variables ¶
View Source
var Index = &ice.Context{Name: GIT, Help: "代码库", Configs: map[string]*ice.Config{ GIT: {Name: GIT, Help: "代码库", Value: kit.Data( cli.SOURCE, "http://mirrors.tencent.com/macports/distfiles/git-cinnabar/git-2.31.1.tar.gz", )}, }, Commands: map[string]*ice.Command{ ice.CTX_INIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Load() }}, ice.CTX_EXIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Save() }}, GIT: {Name: "git path auto order build download", Help: "代码库", Action: ice.MergeAction(map[string]*ice.Action{ cli.ORDER: {Name: "order", Help: "加载", Hand: func(m *ice.Message, arg ...string) { m.Cmd(code.INSTALL, cli.ORDER, m.Config(cli.SOURCE), "_install/bin") m.Cmdy(code.INSTALL, cli.ORDER, m.Config(cli.SOURCE), "_install/libexec/git-core") }}, }, code.InstallAction()), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) { m.Cmdy(code.INSTALL, cli.SOURCE, m.Config(cli.SOURCE), arg) }}, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.