Expand description
Project root discovery
Structs§
- Defaults
Section - Project
Section - Stacksdapp
Config - Optional project config loaded from
stacksdapp.toml.
Constants§
Functions§
- default_
config_ toml - Default contents for a new
stacksdapp.toml. - enter_
scaffold_ root chdirinto the project root and remember it forproject_root.- find_
init_ root - Walk upward for scaffold root or a standard Clarinet root (
Clarinet.toml). Used bystacksdapp init. - find_
scaffold_ root - Walk upward from
startlooking for a scaffold-stacks project root. - load_
config - Load
stacksdapp.tomlfromrootif present (missing file → default config). - project_
root - Last root entered via
enter_scaffold_root, if any. - resolve_
scaffold_ root - Resolve project root: explicit override, else walk-up from cwd.
- validate_
network - Default network for deploy/dev when not passed on the CLI.