CLI Template origami Generator is a command-line tool that automates the creation of directory structures and files based on JSON or YAML configuration files. This helps developers standardize project structures efficiently.
- ✅ Generate: Create a directory structure from a JSON/YAML template.
- 🛠️ Planned Features:
- Validation of configuration files.
- Dry-run mode for previewing structure.
- Environment variable support.
- Advanced templating with placeholders.
bun install -g origami-generator
origami-generator generate -c config.json
{
"root": "my_project",
"structure": {
"src": {
"index.ts": "console.log('Hello, world!');"
},
"README.md": "# My Project"
}
}
root: my_project
structure:
src:
index.ts: "console.log('Hello, world!');"
README.md: "# My Project"
Contributions are welcome! Submit issues and pull requests on GitHub.
MIT License.