Module

_scaffold

Project scaffolding formilo new.

Templates live underdefault/ and are copied with {{name}}substitution. No template engine — a plainstr.replacekeeps scaffolding zero-dep and auditable.

Classes

ScaffoldError 0
Raised when a scaffold cannot be created.

Raised when a scaffold cannot be created.

Functions

scaffold 2 Path
Create a new milo CLI project at ``target_dir / name``.
def scaffold(name: str, target_dir: Path) -> Path
Parameters
Name Type Description
name str

Project name. Must match^[a-z][a-z0-9_]*$so it works both as a directory name and as a Python identifier.

target_dir Path

Parent directory in which the project dir is created.

Returns
Path