github / github/copilot-cli

Chose billing account from the CLI

未关闭
#2,723 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:authentication area:configuration
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the feature or problem you'd like to solve

When users have multiple billing accounts on their GitHub account (example is if two organisations they're part of have a Copilot plan), they must go to the website to change which organisation gets billed

### Proposed solution

It would be great to have the choice of changing the billing account from the CLI.

I would imagine a `/billing` menu that would then display which organisations are available in the logged-in account.
The chosen organisation would get billed for the session's usage.

Even better : a way to store, per-project, which organisation gets billed (maybe in an optional repo-specific file, or in the computer's Copilot config ?)

### Example prompts or workflows

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

Start at the CLI's command or menu entry point and investigate how the logged-in account's available organisations and billing state are represented. Clarify whether the first deliverable is an interactive /billing choice, per-project persistence, or both; done means selecting an organisation changes which account is billed for the session.

由索引模型根据 Issue 内容生成。

评估

领域
cli
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。