Title: add --id for custom IDs and --dir for directory organization#12
Open
nthh wants to merge 1 commit intowedow:masterfrom
Open
Title: add --id for custom IDs and --dir for directory organization#12nthh wants to merge 1 commit intowedow:masterfrom
nthh wants to merge 1 commit intowedow:masterfrom
Conversation
Adds two new features for better ticket organization: Custom IDs (--id): - `tk create "Title" --id my-custom-id` uses specified ID instead of auto-generated - Useful for semantic IDs like `offline-maps` instead of `m-5c4a` Directory Organization (--dir): - `tk create "Title" --dir pipeline-v2` puts ticket in `.tickets/pipeline-v2/` - Directories are auto-created on first use - `tk ls --dir pipeline-v2` filters to that directory - `tk ready --dir pipeline-v2` shows ready tickets in directory - `tk ls --summary` shows all directories with progress stats (sorted by most recent activity) Other improvements: - `ticket_path()` now searches subdirectories for partial ID matching - Ambiguous ID errors now show matching files for easier debugging
Nathan-Schwartz
added a commit
to Nathan-Schwartz/ticket
that referenced
this pull request
Mar 26, 2026
Port upstream PR wedow#12: --id flag for custom ticket IDs, --dir flag for organizing tickets into subdirectories, and --summary flag for directory progress stats. Partial ID resolution now searches subdirectories and ambiguous ID errors show matching files. Core changes: - cmd_create: --id and --dir flags - ticket_path: search subdirs, show matches on ambiguous error - cmd_ready/cmd_blocked: --dir filter - cmd_show/cmd_dep_tree/cmd_dep_cycle/cmd_closed: use find for subdir support - All find calls use -L for symlink compatibility Plugin changes: - ticket-ls 1.1.0: --dir filter, --summary mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two features for better ticket organization:
--idflag for custom ticket IDs--dirflag for organizing tickets into subdirectories--summaryflag to show directory progressFeatures
Custom IDs (
--id)