linear-cli
linear-cli copied to clipboard
feat(project): add --label flag to project create and update
Summary
- Adds repeatable
--label <label>tolinear project createandlinear project updatefor Linear ProjectLabel IDs. - Resolves project labels case-insensitively and creates missing labels via
projectLabelCreatewithout forcing a color. - Keeps
project update --labeladditive by preserving current project label IDs and appending new ones. - Adds interactive project label selection for
project create -i, including a create-new option.
Test plan
- [x]
npx --yes [email protected] task codegen - [x]
npx --yes [email protected] task check - [x]
npx --yes [email protected] lint - [x]
TZ=UTC npx --yes [email protected] task test(337 passed, 5 ignored) - [x]
TZ=UTC npx --yes [email protected] test --allow-all --quiet test/commands/project/project-create.test.ts test/commands/project/project-update.test.ts