配置文件设计
Open
Nobody has claimed this yet.
RFC
- Dominant language
- JavaScript
- Stars
- 11
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
位置
$HOME/.cmcm/kup/config.json
结构
单用户:
{
"tokens":{
"github":"___access__token___"
}
}
多用户:
{
"tokens":{
"github":{
"username1":"___access__token___",
"username2":"___access__token___"
}
}
}
🤔 默认用户如何指定?每次询问还是自动取第一个?
多平台:
{
"tokens":{
"github":{
"username1":"___access__token___",
"username2":"___access__token___"
},
"gitlab":"___access__token___"
}
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the proposed $HOME/.cmcm/kup/config.json location and compare the single-user, multi-user, and multi-platform JSON examples. Resolve how the default user is selected, then define the configuration behavior and documentation needed to support the shown GitHub and GitLab token layouts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, gitlab
- Domain
- authentication, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100