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 – two modes for wiring flodl-hf into a project.
- playground: drops
./flodl-hf/as a standalone cargo crate with a one-fileAutoModelexample, plus aflodl-hf:entry in the rootfdl.ymlsofdl flodl-hf <cmd>routes into the playground from the project root. Try-it-out path; the user’s ownCargo.tomlis untouched. - install: appends
flodl-hf = "=X.Y.Z"to rootCargo.toml[dependencies](default features). Wires the crate into the user’s own code; nothing else mutated.
Modes are combinable on the same invocation. Without flags, an interactive prompt asks; non-tty stdin errors loudly.
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/playground underbaseand link it into the rootfdl.yml. Entry point forfdl add flodl-hf --playground(withbase = cwd) andfdl init --with-hffollow-up (withbase = the freshly-scaffolded project dir). The base dir must contain aCargo.tomlwith a pinnableflodldependency. - install_
flodl_ hf_ at - Append
flodl-hfto the rootCargo.toml[dependencies]table. Idempotent — already-present is a friendly no-op. - run