Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EnvironmentSetupGroup = captain.NewCommandGroup(locale.Tl("group_environment_setup", "Environment Setup"), 10) EnvironmentUsageGroup = captain.NewCommandGroup(locale.Tl("group_environment_usage", "Environment Usage"), 9) ProjectUsageGroup = captain.NewCommandGroup(locale.Tl("group_project_usages", "Project Usage"), 8) PackagesGroup = captain.NewCommandGroup(locale.Tl("group_packages", "Package Management"), 7) PlatformGroup = captain.NewCommandGroup(locale.Tl("group_tools", "Platform"), 6) AuthorGroup = captain.NewCommandGroup(locale.Tl("group_author", "Author"), 5) VCSGroup = captain.NewCommandGroup(locale.Tl("group_vcs", "Version Control"), 4) AutomationGroup = captain.NewCommandGroup(locale.Tl("group_automation", "Automation"), 3) UtilsGroup = captain.NewCommandGroup(locale.Tl("group_utils", "Utilities"), 2) )
Group instances are used to group command help output.
Functions ¶
This section is empty.
Types ¶
type CmdTree ¶
type CmdTree struct {
// contains filtered or unexported fields
}
CmdTree manages a tree of captain.Command instances.
func (*CmdTree) OnExecStart ¶
func (ct *CmdTree) OnExecStart(handler captain.ExecEventHandler)
func (*CmdTree) OnExecStop ¶
func (ct *CmdTree) OnExecStop(handler captain.ExecEventHandler)
Source Files ¶
- activate.go
- artifacts.go
- auth.go
- branch.go
- bundles.go
- checkout.go
- clean.go
- cmdtree.go
- commit.go
- config.go
- cve.go
- deploy.go
- eval.go
- events.go
- exec.go
- export.go
- fork.go
- hello_example.go
- history.go
- init.go
- invite.go
- languages.go
- learn.go
- manifest.go
- organizations.go
- packages.go
- platforms.go
- prepare.go
- projects.go
- protocol.go
- publish.go
- pull.go
- push.go
- refresh.go
- reset.go
- revert.go
- run.go
- scripts.go
- secrets.go
- shell.go
- show.go
- switch.go
- test.go
- update.go
- upgrade.go
- use.go
Click to show internal directories.
Click to hide internal directories.