NocturnLabs
Projects

Scaffold Templates

Collection of project templates for scaffold.

Scaffold Templates

A collection of project templates used by the scaffold CLI.

Available Templates

TemplateLanguageDescription
rust-cliRustCLI application with clap
rust-libRustLibrary with docs.rs setup
rust-wasmRustWebAssembly project
go-apiGoREST API with Gin
go-cliGoCLI with Cobra
ts-nodeTypeScriptNode.js application
ts-reactTypeScriptReact application
python-cliPythonCLI with Click

Creating Custom Templates

Templates are directories containing:

my-template/
├── template.toml       # Template metadata
├── {{name}}/           # Project files (supports variables)
│   ├── README.md
│   ├── src/
│   └── ...
└── hooks/              # Optional pre/post scripts
    ├── pre.sh
    └── post.sh

Template Variables

VariableDescription
{{name}}Project name
{{author}}Author name
{{year}}Current year
{{description}}Project description