Directories
¶
| Path | Synopsis |
|---|---|
|
adapters
|
|
|
driven/backup/jsonl
Package jsonl implements the backup driven-port interfaces using the JSON Lines format.
|
Package jsonl implements the backup driven-port interfaces using the JSON Lines format. |
|
driven/storage/memory
Package memory provides a first-class in-memory implementation of the persistence port interfaces.
|
Package memory provides a first-class in-memory implementation of the persistence port interfaces. |
|
driven/storage/sqlite
Package sqlite implements the persistence port interfaces using an embedded SQLite database via zombiezen.com/go/sqlite (pure Go, no CGO).
|
Package sqlite implements the persistence port interfaces using an embedded SQLite database via zombiezen.com/go/sqlite (pure Go, no CGO). |
|
cmd
|
|
|
admincmd
Package admincmd provides the "admin" parent command, which groups maintenance and administrative operations under a single namespace.
|
Package admincmd provides the "admin" parent command, which groups maintenance and administrative operations under a single namespace. |
|
admincmd/backupcmd
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. |
|
admincmd/completion
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. |
|
admincmd/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. |
|
admincmd/fix/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. |
|
admincmd/fix/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. |
|
admincmd/restorecmd
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. |
|
admincmd/tally
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. |
|
admincmd/upgrade
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. |
|
admincmd/where
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. |
|
blocked
Package blocked provides the "blocked" shortcut command — lists issues that have unresolved blocked_by relationships.
|
Package blocked provides the "blocked" shortcut command — lists issues that have unresolved blocked_by relationships. |
|
closecmd
Package closecmd provides the "close" workflow shortcut — a combined close-with- reason command that adds a comment and then closes the issue in one step.
|
Package closecmd provides the "close" workflow shortcut — a combined close-with- reason command that adds a comment and then closes the issue in one step. |
|
create
Package create provides the root-level "create" command, which auto-detects its input mode using IOStreams TTY detection: when stdin is a pipe, it delegates to the JSON create path; when stdin is a TTY, it launches the interactive form.
|
Package create provides the root-level "create" command, which auto-detects its input mode using IOStreams TTY detection: when stdin is a pipe, it delegates to the JSON create path; when stdin is a TTY, it launches the interactive form. |
|
epiccmd
Package epiccmd provides the "epic" parent command with subcommands for epic-specific operations such as completion status tracking.
|
Package epiccmd provides the "epic" parent command with subcommands for epic-specific operations such as completion status tracking. |
|
formcmd
Package formcmd provides the "form" parent command, which groups interactive, TUI-based subcommands for issue creation and modification.
|
Package formcmd provides the "form" parent command, which groups interactive, TUI-based subcommands for issue creation and modification. |
|
importcmd
Package importcmd provides the "import" parent command, which groups subcommands for importing issues from structured file formats (currently JSONL).
|
Package importcmd provides the "import" parent command, which groups subcommands for importing issues from structured file formats (currently JSONL). |
|
issuecmd
Package issuecmd provides the "issue" parent command, which groups issue management operations under a single namespace.
|
Package issuecmd provides the "issue" parent command, which groups issue management operations under a single namespace. |
|
jsoncmd
Package jsoncmd provides the "json" parent command, which groups agent-oriented subcommands that accept structured JSON input on stdin and produce JSON output unconditionally.
|
Package jsoncmd provides the "json" parent command, which groups agent-oriented subcommands that accept structured JSON input on stdin and produce JSON output unconditionally. |
|
labelcmd
Package labelcmd provides the "label" parent command, which groups label management operations under a single namespace.
|
Package labelcmd provides the "label" parent command, which groups label management operations under a single namespace. |
|
ready
Package ready provides the "ready" shortcut command — a quick way to list issues that are available for work.
|
Package ready provides the "ready" shortcut command — a quick way to list issues that are available for work. |
|
relcmd
Package relcmd provides the "rel" parent command, which groups relationship management operations under a single namespace.
|
Package relcmd provides the "rel" parent command, which groups relationship management operations under a single namespace. |
|
relcmd/graphcmd
Package graphcmd implements the "graph" CLI command, which renders the issue hierarchy and relationships as a Graphviz DOT file.
|
Package graphcmd implements the "graph" CLI command, which renders the issue hierarchy and relationships as a Graphviz DOT file. |
|
root
Package root constructs the root command that assembles all subcommands and defines cross-cutting behavior in the Before hook (signal handling and schema version gating).
|
Package root constructs the root command that assembles all subcommands and defines cross-cutting behavior in the Before hook (signal handling and schema version gating). |
|
version
Package version implements the "version" command, which prints the application's build version and — when --verbose is set — VCS metadata (version control system, commit revision, and commit timestamp).
|
Package version implements the "version" command, which prints the application's build version and — when --verbose is set — VCS metadata (version control system, commit revision, and commit timestamp). |
|
Package cmdutil provides shared infrastructure for command implementations: the Factory for dependency injection, typed errors for centralized classification, build metadata extraction, and flag helpers.
|
Package cmdutil provides shared infrastructure for command implementations: the Factory for dependency injection, typed errors for centralized classification, build metadata extraction, and flag helpers. |
|
Package core implements the driving port interface defined in internal/ports/driving.
|
Package core implements the driving port interface defined in internal/ports/driving. |
|
Package domain defines the core business types, error categories, and identity types for the nitpicking issue tracker.
|
Package domain defines the core business types, error categories, and identity types for the nitpicking issue tracker. |
|
history
Package history defines the HistoryEntry entity — an immutable, append-only record of every mutation to an issue's state.
|
Package history defines the HistoryEntry entity — an immutable, append-only record of every mutation to an issue's state. |
|
Package iostreams provides an abstraction over standard I/O with TTY awareness, color control, and test substitution.
|
Package iostreams provides an abstraction over standard I/O with TTY awareness, color control, and test substitution. |
|
ports
|
|
|
driven
Package driven defines the driven port interfaces — the contracts that the core requires from its persistence and backup layers.
|
Package driven defines the driven port interfaces — the contracts that the core requires from its persistence and backup layers. |
|
driving
Package driving defines the driving port — the use-case boundary that CLI and other adapters invoke.
|
Package driving defines the driving port — the use-case boundary that CLI and other adapters invoke. |
|
Package wiring is the application's configurator layer — the outermost ring of the hexagonal architecture.
|
Package wiring is the application's configurator layer — the outermost ring of the hexagonal architecture. |
Click to show internal directories.
Click to hide internal directories.