Documentation
¶
Overview ¶
Package agentscmd wires the `cr agents` command surface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterWithFactory ¶
func RegisterWithFactory(rootCmd *cobra.Command, opts *root.Options, factory ProviderFactory)
RegisterWithFactory attaches the agents command tree with an injected provider factory.
Types ¶
type ProviderFactory ¶
type ProviderFactory func(cmd *cobra.Command, opts *root.Options, cfg config.File, profile config.Profile) (gitprovider.GitProvider, func(), error)
ProviderFactory builds the git provider used by PR-aware agent loading.
Click to show internal directories.
Click to hide internal directories.