cssmagic / cssmagic/kup

配置文件设计

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.