Skip to content

feat: add st and stat aliases for issue status (CRY-50) - #128

Merged
bougyman merged 1 commit into
mainfrom
CRY-50-st-stat-aliases-for-issue-status
Aug 16, 2026
Merged

feat: add st and stat aliases for issue status (CRY-50)#128
bougyman merged 1 commit into
mainfrom
CRY-50-st-stat-aliases-for-issue-status

Conversation

@bougyman

Copy link
Copy Markdown
Member

Summary

  • Adds "st" and "stat" to the "issue" entry in @subcommand_aliases in LinearCli.CLI, alongside the existing "s" alias
  • All three aliases resolve to canonical "status" before Optimus ever parses argv, so lc i st, lc i stat, and lc issue status behave identically
  • No existing aliases, flags, or command behavior changed

Test plan

  • normalize_subcommand_aliases/1 unit assertions for both ["i", "st", ...] and ["i", "stat", ...] in cli_test.exs
  • End-to-end dispatch tests for "issue", "st" and "issue", "stat" in issue_commands_test.exs, each verifying a full status-change flow through main/1 with a stubbed API
  • All 48 tests in the two affected test files pass; 5 pre-existing GitTest failures (environmental, unrelated to this change) confirmed unchanged before and after

Closes CRY-50

🤖 Generated with Claude Code

Adds `"st"` and `"stat"` entries to the issue subcommand alias map in
`@subcommand_aliases`, alongside the existing `"s"` alias. All three
now resolve to the canonical `status` subcommand before Optimus parses
the argv, so `lc i st`, `lc i stat`, and `lc issue status` are all
equivalent.

Tests: normalization unit assertions for both new aliases in cli_test,
plus end-to-end dispatch tests (st and stat) in issue_commands_test
mirroring the existing s-alias dispatch test.

Closes CRY-50

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 16, 2026 17:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@bougyman
bougyman merged commit 988d978 into main Aug 16, 2026
2 checks passed
@bougyman
bougyman deleted the CRY-50-st-stat-aliases-for-issue-status branch August 16, 2026 17:31
bougyman pushed a commit that referenced this pull request Aug 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.12.0](v1.11.0...v1.12.0)
(2026-08-16)


### Features

* add st and stat aliases for issue status (CRY-50)
([#128](#128))
([988d978](988d978))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

2 participants