Skip to content

Add linear issue state command - #256

Open
GabrielBursi wants to merge 3 commits into
schpet:mainfrom
GabrielBursi:feat/get-current-state
Open

Add linear issue state command#256
GabrielBursi wants to merge 3 commits into
schpet:mainfrom
GabrielBursi:feat/get-current-state

Conversation

@GabrielBursi

Copy link
Copy Markdown

Summary

  • Add linear issue state to print an issue's current workflow state, following the existing title/url single-field getter pattern
  • --json outputs the raw {name, color} object, reusing the state selection already present in the shared GetIssueDetails query (no GraphQL/schema changes needed)
  • Regenerate skill docs (deno task generate-skill-docs) to document the new command

Test plan

  • deno check and deno lint pass
  • New tests in test/commands/issue/issue-state.test.ts pass (help text, default output, --json output)
  • Manual smoke test: linear issue state ENG-123 prints the bare state name; --json prints {"name": "...", "color": "..."}

Prints an issue's current workflow state, matching the existing
title/url single-field getters. --json outputs the raw {name, color}
already fetched by the shared GetIssueDetails query, so no GraphQL
changes are needed.
Ran `deno task generate-skill-docs`. api.md/milestone.md/project.md
also picked up terminal-width text-reflow from the current help
output; no content changes.
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