Help us shape the future of Go! Take the 2026 Go Developer Survey

toolsvalidatecmd

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Path string // the tool manifest (YAML)
}

Options is the `steerloop tools validate` command line.

func ParseOptions

func ParseOptions(args []string, stderr io.Writer) (Options, error)

ParseOptions reads `validate` and then its flags. `tools` has one subcommand today; anything else is a usage error.

func (Options) Validate

func (o Options) Validate() error

Validate reports every problem with the options, one per line.

type ToolsValidateCommand

type ToolsValidateCommand struct {
	// contains filtered or unexported fields
}

ToolsValidateCommand is `steerloop tools validate`. It checks a tool manifest the way `run --tools` would, without calling a model or running a tool. It implements cli.Command.

func New

func (*ToolsValidateCommand) Run

func (c *ToolsValidateCommand) Run(ctx context.Context, args []string) int

Run reads top to bottom: parse, validate, load the manifest, report.

Jump to

Keyboard shortcuts

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