caz
A simple yet powerful template-based Scaffolding tools.
What is caz?
A simple yet powerful template-based Scaffolding tools.
Overview of caz
What it is
CAZ (Create App Zen) is a simple template-based scaffolding tool for personal productivity. It is inspired by Yeoman and Vue CLI 2. The tool is written in TypeScript and uses modern APIs. It has zero runtime dependencies and is designed to be lightweight, configurable, and extensible. CAZ can create new projects from official templates, GitHub repositories, local file system templates, or remote ZIP archives. It supports offline mode, prompts override via CLI parameters, and debug mode for error tracing. The tool reads configuration from a ~/.cazrc file, allowing customization of the template registry, default branch, and proxy settings. CAZ can also be used programmatically as a Node.js module to build custom scaffolding tools.
Key features
- Zero runtime dependencies.
- Template-based scaffolding from GitHub repos, local paths, or remote ZIP files.
- Offline mode using cached templates.
- Prompts override via command-line arguments.
- Debug mode for detailed error output.
- Configurable via
~/.cazrcfile (registry, official org, branch, proxy). - Can be used as a Node.js module (
caz(template, project, options)) to create custom scaffolding tools.
Use cases
- Quickly scaffolding a new project from an official template (e.g.,
caz nm my-project). - Using a custom GitHub repository as a template source (e.g.,
caz zce/nm my-project). - Creating projects from local template directories or remote ZIP archives.
- Developing custom scaffolding tools by integrating CAZ programmatically.
- Working offline with previously cached templates.
Getting started
Prerequisites: Node.js >= 16.x (>= 18.x preferred), npm >= 7.x or pnpm >= 6.x or yarn >= 1.22, Git >= 2.0.shell# install it globally$ npm install -g caz# or yarn$ yarn global add cazQuick start:shell$ caz [project] [-f|--force] [-o|--offline]# caz with an official template$ caz [project]# caz with a github repo$ caz / [project]Alternatively, use npx:shell$ npx caz [project] [-f|--force] [-o|--offline]
License and pricing
License: MIT. Pricing: open source (free).
Based on the project's public README and repository metadata.