Fix backlog helper help routing #191
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
pnpm backlog:new --helpis interpreted as a request to create a new backlogitem titled
New issue, because package-manager argument forwarding places--helpwhere thenewcommand parser treats it as command input rather than ahelp request.
Goal
Make backlog helper help behavior explicit and non-mutating for root and
subcommand help requests.
Scope
help,--help, and-hto help output without creating or mutatingissue files.
new --help,close --help, andsync --help.new --helpregression.Non-goals
help routing.
Acceptance Criteria
pnpm backlog:new --helpexits successfully, prints help, and creates no.issues/open/Tmp*file.node ./scripts/issue-sync.mjs new --helphas the same non-mutating behavior.pnpm backlog --helpwhere available andnode ./scripts/issue-sync.mjs --help.Implementation Notes
execution.
Suggested Files or Specs To Inspect
scripts/issue-sync.mjsscripts/issue-sync-lib.mjsscripts/issue-sync-lib.test.mjsspec/src/80-maintenance/issues-backlog.mdValidation Commands
node ./scripts/issue-sync.mjs new --helppnpm backlog:new --helpnode --test scripts/issue-sync-lib.test.mjs scripts/issue-sync-progress.test.mjspnpm test:scriptsRelated Issues
Follow-up Tasks
Implementation Summary
Added non-mutating root and subcommand help handling for issue-sync, exposed pnpm backlog --help, documented the help forms, and added regression coverage so new --help cannot create temporary issues.