claude-keys-manager
Version:
Claude Code API Key manager with template and repository management tools
33 lines (26 loc) • 1.51 kB
JavaScript
const chalk = require('chalk');
async function postInstall() {
console.log(chalk.blue.bold('\n🚀 Claude Code Manager 安装完成!'));
console.log(chalk.gray('轻量级代码模板和项目管理工具'));
console.log(chalk.green.bold('\n✨ 主要功能:'));
console.log(chalk.cyan(' 📥 下载GitHub仓库 (ZIP格式,无需Git)'));
console.log(chalk.cyan(' 📝 创建和管理代码模板'));
console.log(chalk.cyan(' 🚀 快速启动常用项目模板'));
console.log(chalk.cyan(' 💡 纯Node.js实现,轻量快速'));
console.log(chalk.blue.bold('\n📖 使用方法:'));
console.log(chalk.yellow(' claude-get <repo-url> # 下载仓库'));
console.log(chalk.yellow(' claude-get owner/repo # 简化格式'));
console.log(chalk.yellow(' claude-get quick # 选择常用模板'));
console.log(chalk.yellow(' claude-get template list # 查看模板'));
console.log(chalk.yellow(' claude-get --help # 查看所有命令'));
console.log(chalk.green('\n🎯 示例:'));
console.log(chalk.gray(' claude-get facebook/react # 下载React仓库'));
console.log(chalk.gray(' claude-get vercel/next.js -d my-app # 指定目录'));
console.log(chalk.gray(' claude-get -i # 交互模式'));
}
// 只在npm install时运行,避免在require时执行
if (require.main === module) {
postInstall().catch(console.error);
}
module.exports = postInstall;