fix

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package fix implements the "admin fix" parent command group, which houses automated remediations for conditions that "np admin doctor" detects and that no other np command already addresses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(f *cmdutil.Factory) *cli.Command

NewCmd constructs the "fix" parent command, which groups automated remediation subcommands for doctor-detected conditions. Invoking "np admin fix" with no subcommand prints help and exits 0; invoking it with an unknown subcommand exits non-zero (urfave/cli/v3 default).

Types

This section is empty.

Directories

Path Synopsis
Package gitignore provides the "admin fix git-ignore" subcommand, which appends ".np/" to the project's .gitignore so the issue database is not accidentally committed to git.
Package gitignore provides the "admin fix git-ignore" subcommand, which appends ".np/" to the project's .gitignore so the issue database is not accidentally committed to git.
Package invalidparent provides the "admin fix invalid-parent-reference" subcommand, which removes dangling parent references from issues whose parent no longer exists in the database.
Package invalidparent provides the "admin fix invalid-parent-reference" subcommand, which removes dangling parent references from issues whose parent no longer exists in the database.

Jump to

Keyboard shortcuts

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