Documentation
¶
Overview ¶
Package cli assembles the twitch command tree from the twitch domain on top of the any-cli/kit framework. Every read command is declared once as a kit operation in the twitch package, so the CLI, the HTTP API (twitch serve), and the MCP server (twitch mcp) all derive from one registry.
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 App: the twitch domain installs the client factory and the operations, this package adds the global flags and the version command, and kit provides the CLI, API, and MCP surfaces.
To add a command, declare it in twitch/domain.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 version does below.
Types ¶
This section is empty.