generating a tiny cli project
generating a tiny cli project support:
- Automatically detect version updates.
- Command line parameter parsing out of box.
First, install Yeoman and generator-stupid-cli using npm (we assume you have pre-installed node.js).
npm install -g yo generator-stupid-cli
Then generate your new project:
yo stupid-cli
Scaffolds out a complete generator directory structure for you:
.
├── bin/
│ └── index.js
├── lib/
│ ├── index.js
│ └── run.js
├── .editorconfig
├── .gitignore
├── biome.json
├── LICENSE
├── package.json
└── README.md