Skip to content

Comments

feat: multi-word title support for tk create command#42

Open
konyahin wants to merge 1 commit intowedow:masterfrom
konyahin:create-ticket-with-multi-word-title
Open

feat: multi-word title support for tk create command#42
konyahin wants to merge 1 commit intowedow:masterfrom
konyahin:create-ticket-with-multi-word-title

Conversation

@konyahin
Copy link

Fix: Support multi-word titles in create command

Problem

tk create fix the bug    # Only captured "bug" as title

Solution

Changed argument parsing to accumulate all positional arguments into an array instead of overwriting a single variable.

tk create fix the bug              # Now works: "fix the bug"
tk create Add feature -t feature   # Works with flags too

Changes

  • ticket: Use array to accumulate title arguments
  • CHANGELOG.md: Document fix
  • features/ticket_creation.feature: Add test scenarios

@konyahin konyahin force-pushed the create-ticket-with-multi-word-title branch from d71840f to 55b493b Compare February 12, 2026 06:02
@konyahin konyahin changed the title feat: multi-word title support for tic-fs34 command feat: multi-word title support for tk create command Feb 12, 2026
greghughespdx added a commit to greghughespdx/ticket that referenced this pull request Feb 20, 2026
Positional args to `ticket create` were overwriting a single variable,
so only the last word was captured as the title. Changed to accumulate
all positional args into an array and join them.

  ticket create Fix the bug        # was: "bug"  now: "Fix the bug"
  ticket create "Quoted title"     # still works
  ticket create Single             # still works

Follows the approach from upstream PR wedow#42 (konyahin).
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