Skip to main content

Module add

Module add 

Source
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/ under base. Entry point for fdl add flodl-hf (with base = cwd) and fdl init --with-hf / interactive-mode follow-up (with base = the freshly-scaffolded project dir). The base dir must contain a Cargo.toml with a pinnable flodl dependency.
run