Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct {
Config func() (*config.Config, error)
State func() (*state.State, error)
Client func() (*gh.Client, error)
Provider func() (provider.Provider, error)
}
Factory lazily constructs command dependencies so help/version paths avoid config I/O, state reads, and GitHub client setup entirely.
func NewFactory ¶
func NewFactory() *Factory
Click to show internal directories.
Click to hide internal directories.