ignorecmd

package
v0.0.0-...-a02776c Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 11 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 ignorecmd implements the `fendix ignore …` cobra subcommand tree introduced in TASK-135 / Phase 17d.

Three subcommands:

fendix ignore list      — show all rules in .fendix-ignore + expiry status
fendix ignore validate  — parse the file, report schema/date/match errors
fendix ignore prune     — remove expired rules, write the file back in place

Surfaces the suppression bookkeeping that was previously invisible: a user with 30 ignore rules accumulated over a year had no easy way to see which were about to expire, which were already dead weight, and which referenced findings that no longer exist. `list` + `prune` fix that without requiring a manual audit.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

NewCmd returns the `fendix ignore` cobra subcommand tree.

The parent command is a no-op container: `fendix ignore` with no args prints usage. Subcommands (`list`, `validate`, `prune`) carry the actual behaviour.

Types

This section is empty.

Jump to

Keyboard shortcuts

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