21 Commits

Author SHA1 Message Date
Peter Schilling 7515c537d5 chore: lint 2025-10-21 11:59:38 -07:00
Peter Schilling be2dd51073 Add jj-vcs support for issue detection
Enable finding the current Linear issue from jj commit trailers, matching
the existing git branch-based detection. Users can now work with either git
or jj version control systems.

- Extract Linear-issue trailer parsing into getJjLinearIssue() utility
- Create getCurrentIssueFromVcs() abstraction for VCS-agnostic issue lookup
- Update getIssueIdentifier() to use new VCS-aware detection
- Support both git branch names and jj commit trailers seamlessly

Claude-session-id: cf951f85-34da-4328-be9d-241ff092feea
2025-10-21 11:55:05 -07:00
Peter Schilling e8f73717b7 Add 'issue describe' command
Implement a new describe command that outputs the issue title and
Linear-issue trailer in a simple format, without markdown parsing or
description content. This complements the existing commit-message
command with a lightweight alternative.

- Create issue-describe.ts with new describe command
- Add describe to issue command routing
- Include comprehensive snapshot tests for help, successful output,
  and error handling

Claude-session-id: 8f5b0675-298f-4694-8cd4-109cc46d8066
2025-10-20 21:22:35 -07:00
Peter Schilling 4bb3bef0c7 change formatting rules: no prose wrap, no semi colons 2025-09-02 22:13:34 -07:00
Peter Schilling 094dbb90c5 chore: Release linear-cli version 1.1.1 2025-09-02 21:50:40 -07:00
Peter Schilling 2befc8f0af CLI-57 Setting a label on an issue should be case-insensitive (#53)
https://linear.app/schpet/issue/CLI-57/setting-a-label-on-an-issue-should-be-case-insensitive
2025-08-22 21:34:52 -07:00
Peter Schilling f5e1043de7 update tests 2025-08-21 13:14:35 -07:00
Peter Schilling bd5e507041 pager leaves content visible after quitting
fixes CLI-55
2025-08-21 08:41:27 -07:00
Peter Schilling cf51a9ea89 include id in teams list 2025-08-20 11:54:08 -07:00
Peter Schilling 7936bcfd70 Avoid colors in snapshot tests 2025-08-19 22:27:43 -07:00
Peter Schilling 5564b76cdb Fix test 2025-08-19 22:23:41 -07:00
Peter Schilling 6c329201ca add linear team create comand 2025-08-19 21:53:25 -07:00
Peter Schilling 76e2ba8ffd Fix issue create with parent, auto inherit project from parent 2025-08-19 15:17:26 -07:00
Peter Schilling 1edf814b48 CLI-47 Support referencing issues with integer only IDs (#52)
https://linear.app/schpet/issue/CLI-47/allow-integer-only-issue-ids-if-theres-a-team-set
2025-08-19 08:50:24 -07:00
Peter Schilling 592000f70a Various improvements (#51)
**Fixed:**
- state column is now dynamically sized with max 20 chars and
auto-truncation

**Changed:**
- linear issue list now sorts by workflow state first
- issue pr create no longer opens browser by default, added --web flag
- removed 'about' prefix from relative timestamps

**Added:**
- automatic paging for issue view command with --no-pager flag and pager
- pager support for issue list command with --no-pager option
2025-08-18 21:52:46 -07:00
Peter Schilling 3af23fd92e CLI-23 Add linear issue update non-interactive command, support same flags as create (#50)
https://linear.app/schpet/issue/CLI-23/add-linear-issue-update-non-interactive-command-support-same-flags-as
2025-08-17 07:18:21 -07:00
Peter Schilling e078475eec add team list command 2025-08-15 10:34:03 -07:00
Peter Schilling 11234ec2e1 add project list / view commands 2025-08-15 10:16:26 -07:00
Peter Schilling f73bb4cbeb CLI-27 Print comments when viewing an issue (#48)
https://linear.app/schpet/issue/CLI-27/add-a-comments-flag-to-linear-issue-view-to-include-comments

show comments by default in linear issue view, use --no-comments to
disable
2025-08-14 22:01:23 -07:00
Peter Schilling c125a2e805 test issue-create 2025-08-14 19:51:32 -07:00
Peter Schilling 93251900ec Organize code (#46) 2025-08-14 06:38:40 -07:00