Expand description
Ecosystem-crate scaffolding (fdl add <target>): drops a
configured sub-project inside a flodl project for hands-on
discovery. Currently supports flodl-hf.
fdl add flodl-hf – scaffold a flodl-hf playground inside the current flodl project.
Drops ./flodl-hf/ as a standalone cargo crate: pinned flodl +
flodl-hf deps, a one-file AutoModel example, fdl.yml with
runnable commands, and a README documenting feature flavors and
the convert workflow.
Scope contract: no mutation of the user’s root Cargo.toml or
fdl.yml. The playground is a side crate the user runs for
discovery; wiring flodl-hf into their main code stays their call,
documented in the generated README.
Targets accepted: flodl-hf and its alias hf. Other targets
surface a loud error listing the supported set.
Functions§
- add_
flodl_ hf_ at - Scaffold
flodl-hf/underbase. Entry point forfdl add flodl-hf(withbase = cwd) andfdl init --with-hf/ interactive-mode follow-up (withbase = the freshly-scaffolded project dir). The base dir must contain aCargo.tomlwith a pinnableflodldependency. - run