baseline

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package baseline implements the "baseline" CLI command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config
	// Out is the baseline file to write; empty means anarch-baseline.json in
	// --dir.
	Out string
	// Shrink only removes what was fixed from the existing baseline, and
	// never accepts anything new.
	Shrink  bool
	Flags   *ff.FlagSet
	Command *ff.Command
}

Config holds the configuration for the baseline command.

func New

func New(parent *root.Config) *Config

New creates and registers the baseline command with the given parent config.

Jump to

Keyboard shortcuts

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