Add `--user` to copilot argument
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the feature or problem you'd like to solve
I'd like to be able to specify which user I want to use for the session as I have both work and personal accounts
### Proposed solution
If you have a script that puts in all the startup values you like by default, would be nice to have an ability to also specify the user/account that the session should start up in. Kind of annoying to have to later specify the user via `/user`.
### Example prompts or workflows
I have a powershell alias `cs` that launches copilot with a few args like `--yolo` and a few other fields. I'd like to also be able to pass a flag like `-Personal` or `-Work` to force it to use a specific account for the new session (so I don't forget and spend personal on work or vice versa). Just relying on the last one launched gets tricky because sometimes I forget and in the morning when I get to work and I forget to switch back to work account.
### Additional context
_No response_
貢獻指南
研究方向
No files or tests are named. Start by locating the CLI argument parsing and the existing `/user` account-selection flow; then trace how the selected account reaches a new session. Done means a startup flag reliably selects the requested account, while existing behavior remains unchanged and the option is discoverable.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- powershell
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100