agentscmd

package
v0.3.149 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package agentscmd wires the `cr agents` command surface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(rootCmd *cobra.Command, opts *root.Options)

Register attaches the agents command tree to rootCmd.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL