AdiKsOnDev / AdiKsOnDev/linear-cli

Add team key resolution for user list command

Đang mở
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
8
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Support filtering users by team key (e.g., "ENG") in addition to team ID.

**Current behavior:**
`linear user list --team ENG` doesn't filter by team because team key to ID resolution is not implemented (lines 74-76 have a `pass` statement).

**Example usage:**
```bash
linear user list --team ENG
linear user list --team DESIGN
```

**Implementation:**
- Add team key to ID resolution logic (similar to issue.py resolve_team_id)
- Replace `pass` statement with actual resolution
- Call `client.get_teams()` to find team by key
- Pass resolved team_id to `client.get_users()`

**Files to modify:**
- `src/linear_cli/cli/commands/user.py` (list command, lines 74-76)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.