cnb-cli
v1.0.3
Published
CNB-CLI is a command-line interface tool designed to help developers quickly create and manage code repositories. It provides a simple and efficient way to initialize projects, manage repository configurations, and automate common development tasks.
Downloads
7
Readme
CNB-CLI
CNB-CLI is a command-line interface tool designed to help developers quickly create and manage code repositories. It provides a simple and efficient way to initialize projects, manage repository configurations, and automate common development tasks.
Installation
npm install cnb-cliUsage
cnb repo create <name> [desc] [visibility]
cnb repo list
cnb repo rm <name>File Tree
cnb
├─ arch.md # 项目架构说明文档
├─ index.js # CLI 入口文件
├─ package.json # 项目配置与依赖声明
├─ pnpm-lock.yaml # pnpm 包管理器的依赖锁定文件
├─ README.md # 项目说明文档
├─ scripts
│ └─ completion.nu # 命令行自动补全脚本(NuShell)
└─ src
├─ commands
│ ├─ release.js # 发布相关命令实现
│ └─ repo.js # 仓库相关命令实现
├─ lib
│ ├─ config.js # 配置加载与管理模块
│ └─ request.js # 网络请求封装模块
└─ main.js # 主程序逻辑入口