cmdagent

package
v0.208.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cmdagent owns agent arguments and report presentation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtime shared.Runtime, deps Dependencies) *cobra.Command

func NewAwait

func NewAwait(runtime shared.Runtime, deps Dependencies) *cobra.Command

func NewCompare

func NewCompare(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewCompare builds `wb agent compare`.

func NewDiff

func NewDiff(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewDiff builds `wb agent diff`.

func NewExperiment

func NewExperiment(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewExperiment builds `wb agent experiment <id>`.

func NewProfiles

func NewProfiles(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewProfiles builds `wb agent profiles`, the machine-readable profile catalog.

func NewPrune

func NewPrune(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewPrune builds `wb agent prune`, the retention control.

func NewReview

func NewReview(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewReview builds `wb agent review`: the only writer of the acceptance axis.

func NewRun

func NewRun(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewRun builds `wb agent run`: the task-type and profile aware entry point.

func NewStats

func NewStats(runtime shared.Runtime, deps Dependencies) *cobra.Command

func NewTaskTypes

func NewTaskTypes(runtime shared.Runtime, deps Dependencies) *cobra.Command

NewTaskTypes builds `wb agent task-types`, the machine-readable task-type catalog.

Types

type Dependencies

type Dependencies struct {
	agentrun.Operations
	ResolveRemote func(string) (agents.RemoteTarget, error)
	CallRemote    func(context.Context, agents.RemoteTarget, agents.RemoteRequest) (agents.RemoteResponse, error)
	ReadTaskFile  func(string) ([]byte, error)
	Discovery     func(*cobra.Command, string)
}

Jump to

Keyboard shortcuts

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