AdiKsOnDev / AdiKsOnDev/linear-cli

Add team key resolution for user list command

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
8
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。