admincmd

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: 21 Imported by: 0

Documentation

Overview

Package admincmd provides the "admin" parent command, which groups maintenance and administrative operations under a single namespace.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

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

NewCmd constructs the "admin" parent command with maintenance subcommands.

Types

This section is empty.

Directories

Path Synopsis
Package backupcmd provides the "admin backup" command, which creates a JSONL backup of the entire issue database.
Package backupcmd provides the "admin backup" command, which creates a JSONL backup of the entire issue database.
Package completion provides the "completion" command, which outputs shell completion scripts for bash, zsh, and fish.
Package completion provides the "completion" command, which outputs shell completion scripts for bash, zsh, and fish.
fix
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.
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.
gitignore
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.
invalidparent
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.
Package restorecmd provides the "admin restore" command, which restores the issue database from a JSONL backup file.
Package restorecmd provides the "admin restore" command, which restores the issue database from a JSONL backup file.
Package tally provides the "tally" admin subcommand — a dashboard showing summary statistics about the issue database.
Package tally provides the "tally" admin subcommand — a dashboard showing summary statistics about the issue database.
Package upgrade implements the "admin upgrade" command, which migrates the nitpicking database from its current schema version to v3.
Package upgrade implements the "admin upgrade" command, which migrates the nitpicking database from its current schema version to v3.
Package where provides the "where" command, which prints the absolute path of the discovered .np/ directory.
Package where provides the "where" command, which prints the absolute path of the discovered .np/ directory.

Jump to

Keyboard shortcuts

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