Documentation
¶
Overview ¶
Package cli assembles the sunrise-sunset command tree from the sunrise-sunset domain on top of the any-cli/kit framework.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
Build metadata, set via -ldflags at release time.
Functions ¶
func NewApp ¶
NewApp assembles the kit application from the sunrise-sunset domain. The domain's Register installs the client factory and every operation, so the binary and a 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 sunrise-sunset/domain.go with kit.Handle and it appears here automatically.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.