feat: add st and stat aliases for issue status (CRY-50) - #128
Merged
Conversation
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>
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
"st"and"stat"to the"issue"entry in@subcommand_aliasesinLinearCli.CLI, alongside the existing"s"alias"status"before Optimus ever parses argv, solc i st,lc i stat, andlc issue statusbehave identicallyTest plan
normalize_subcommand_aliases/1unit assertions for both["i", "st", ...]and["i", "stat", ...]incli_test.exs"issue", "st"and"issue", "stat"inissue_commands_test.exs, each verifying a full status-change flow throughmain/1with a stubbed APIGitTestfailures (environmental, unrelated to this change) confirmed unchanged before and afterCloses CRY-50
🤖 Generated with Claude Code