feat(types): add "enhancement" as alias for "feature" type

Support --type enhancement as an alias for --type feature when creating
issues. The normalization happens before validation to ensure consistency
across all code paths.

Closes gt-hzanoe

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gastown/crew/george
2026-01-16 15:44:33 -08:00
committed by Steve Yegge
parent 99d6592207
commit 9ecdc00664
6 changed files with 22 additions and 8 deletions

View File

@@ -66,7 +66,7 @@ Example:
Title: title,
Status: types.StatusOpen,
Priority: priority,
IssueType: types.IssueType(issueType),
IssueType: types.IssueType(issueType).Normalize(),
}
ctx := rootCtx