Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Info VersionInfo
GitHubClient *gh.Client
}
App is the composition root for the gh-secrets-sync CLI. It holds all top-level dependencies and exposes a single Run entry-point.
type Option ¶
type Option func(*App)
Option is a functional option for configuring an App.
func WithVersionInfo ¶
func WithVersionInfo(info VersionInfo) Option
WithVersionInfo sets the build-time version metadata.
type VersionInfo ¶
VersionInfo holds build-time metadata for the application.
func (VersionInfo) String ¶
func (v VersionInfo) String() string
String returns a formatted version string suitable for CLI output.
Click to show internal directories.
Click to hide internal directories.