# Usage | Simple Scaffold
Simple Scaffold can be used as a CLI tool or as a Node.js library. Both approaches share the

Skip to main content

# Usage

Simple Scaffold can be used as a CLI tool or as a Node.js library. Both approaches share the same core concepts: templates, configuration files, and Handlebars-based token replacement.

- Templates — how template files and directories work, built-in helpers, and custom helpers
- Configuration Files — reusable scaffold definitions, auto-detection, inputs, and remote Git templates
- CLI — all commands, flags, interactive mode, and hooks
- Node.js API — programmatic usage, full config interface, and hooks
- Examples — end-to-end examples for CLI and Node.js
- Migration — upgrading from v1.x or v0.x to the latest version