AGENT SKILL

CLI Builder

CLI tool generator. Project scaffolding, command adding, argument parsing, help docs, config handling, publish checklist, interactive prompts.

License 许可
MIT
最近更新
2026-06-10
Stars
★ 3
Forks
0

01 前言 Front Matter

name
CLI Builder
author
BytesAgain
source
https://github.com/bytesagain/ai-skills
version
2.0.0
homepage
https://bytesagain.com
description
CLI tool generator. Project scaffolding, command adding, argument parsing, help docs, config handling, publish checklist, interactive prompts.

03 SKILL.md 正文

CLI Builder — Command-Line Tool Generator

Scaffold professional CLI tools from scratch, full lifecycle coverage

Quick Start

bash scripts/cli-builder.sh init myapp python
bash scripts/cli-builder.sh command myapp serve "Start dev server"
bash scripts/cli-builder.sh args python --name,--port,--verbose

Commands

Command Purpose Arguments
init Project skeleton <name> <lang>
command Add a command <app> <cmd> <desc>
args Argument parser code <lang> <args>
help Help doc generation <app> <commands>
config Config file handling <lang> <format>
publish Publish checklist <platform>
interactive Interactive prompts <lang> <prompts>
color Colored output code <lang>

Supported Languages

  • Python — argparse / click / typer
  • Node.js — commander / yargs / inquirer
  • Bash — getopts / case patterns
  • Go — cobra / flag

Output

All generated code is copy-paste ready with comments and best practices included.

💬 Feedback & Feature Requests: https://bytesagain.com/feedback Powered by BytesAgain | bytesagain.com

04 同仓库更多 Skills