Skip to content

refactor: make export its own command (docket export <type> <id>) - #454

Merged
danielhanold merged 5 commits into
mainfrom
refactor/make-export-its-own-command-docket-export-type-change-id
Nov 10, 2026
Merged

danielhanold merged 5 commits into
mainfrom
refactor/make-export-its-own-command-docket-export-type-change-id

Conversation

@danielhanold

@danielhanold danielhanold commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

↩ Change 0589 — Make export its own command: docket export <change_id>

Adds docket export <type> [<id>] (catalog id export) as its own command and removes --export, --output-path, and --warnings from docket open, so that open only opens.

  • export writes the same clean copy open --export wrote. The file name, the default destination, --output-path, --warnings, and the export result fields are unchanged.
  • It opens the copy only when it is written to the default destination without --print. With --output-path or --print, it prints the path and opens nothing.
  • The result drops target/target_kind and has its own ExportResult schema entry.
  • open and export share change resolution, the artifact-path check, and the opener call.
  • The docket-export skill (and its embedded copy), cli.md, glossary.md, and the skill's prose sentinel now use the new command.

Review

Reviewed by docket-review-standard.

# Severity Finding Disposition
1 minor A bad --warnings value passed directly to the app layer is refused with reason invalid-target fixed (0158b77): a comment now explains the reuse; only direct callers can reach it

Full suite green at 0158b77.

@danielhanold
danielhanold merged commit 448b8be into main Nov 10, 2026
7 checks passed
@danielhanold
danielhanold deleted the refactor/make-export-its-own-command-docket-export-type-change-id branch November 10, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant