Skip to main content

Module scaffold

Module scaffold 

Source
Expand description

frame new — deterministic, atomic application scaffolding.

Structs§

NewOptions
Inputs to one deterministic scaffold generation.

Enums§

GitError
A failure running one of the git commands that DID run (never a missing-git or already-inside-a-repo condition — those are reported as GitInit).
GitInit
What frame new did about version control for the new tree.
NewError
Typed refusal or generation failure from frame new.

Functions§

generate
Atomically generates one application tree.
init_repo
Initialises a git repository in target and makes one initial commit, unless target is already inside a git work tree (skipped and reported) or git is not installed (skipped and reported).
validate_name
Validates an application name against both language rules.