Documentation
¶
Overview ¶
Package cli assembles the github command tree from the gh domain on top of the any-cli/kit framework.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( Version = "dev" Commit = "none" Date = "unknown" )
Build metadata, set via -ldflags at release time.
Functions ¶
func NewApp ¶ added in v0.2.0
NewApp assembles the kit application from the gh domain. The domain's Register installs the client factory and every operation, so the binary and a multi-domain host (ant, which blank-imports the package) share one source of truth. kit.Run turns the App into the CLI, plus the serve and mcp surfaces and the typed-error-to-exit-code mapping.
To add a command, declare it in gh/ops.go with kit.Handle and it appears here automatically. Reach for app.AddCommand only for a verb that does not fit the emit-records shape, the way the byte-plane commands below do not.
Types ¶
This section is empty.