Files
mytoolkit/mycli/config.json
T
Zhengshou Lai bd167cfb6d feat: add API keys management and config CRUD operations
- Add api_keys and feishu_apps to config.json
- Add env export/init commands for shell integration
- Add config CRUD: list, set, delete, init
- Add config.json.example template
- Add config.json to .gitignore for security
- Update README with new commands

Usage:
  mycli env export              # Export all env vars
  mycli config set key value    # Set config value
  mycli config delete key       # Delete config key
2026-04-13 11:41:57 +08:00

49 lines
1.6 KiB
JSON

{
"paths": {
"study": "~/Documents/myStudy/self_learning",
"research": "~/Documents/myResearch",
"apaam": "~/Documents/myResearch/myProjects/apaam",
"tianhe": "~/Documents/myWork/sysu/0_中山大学/hpc_tianhe",
"academia": "~/Library/Mobile Documents/iCloud~md~obsidian/Documents/myacademia",
"webpage": "~/Documents/myWork/sysu/4_成果归档/mywebpage",
"slides": "~/Documents/myWork/sysu/4_成果归档/myslides",
"myclaude": "~/Documents/myResearch/myProjects/apaam/repo/myclaude",
"myagent": "~/Documents/myResearch/myProjects/apaam/repo/myagent"
},
"ssh_hosts": {
"tianhe": {
"host": "sysu_lchuangxy_1@172.16.31.31",
"port": 6666,
"key": "~/Documents/myWork/sysu/0_中山大学/hpc_tianhe/sysu_lchuangxy_1.id"
},
"starlight": {
"host": "sysu_lchuang_1@proxy.nscc-gz.cn",
"port": 23
}
},
"git_proxies": {
"fastgithub": "http://127.0.0.1:38457",
"pandafan": "http://127.0.0.1:10080"
},
"openfoam": {
"dmg_path": "~/Documents/myResearch/myProjects/apaam/repo/OpenFOAM.dmg",
"mount_point": "/Volumes/OpenFOAM",
"build_path": "/Volumes/OpenFOAM/openfoam/build"
},
"cv": "~/Documents/Personal/resume_cv/cv_lai_maintaining_latex/cv_lai_maintaining",
"api_keys": {
"deepseek": "sk-5c2f22ad351a485380e29385c710c2b2",
"qwen": "sk-dcbbcce8cce94ecebb4c19417757d32f"
},
"feishu_apps": {
"claude": {
"app_id": "cli_a9452b9024781bd2",
"app_secret": "YIyWNMOUhuPxrs1emA6H7mOvbZajJHBw"
},
"myagent": {
"app_id": "cli_a916d9fef8b89bc7",
"app_secret": "WxhZe8N8MuMuzCjYduDe8btitLeiFUFj"
}
}
}