Expand description
Built-in fdl sub-commands (setup, install, completions, schema,
config, libtorch, diagnose, init, skill, …).
Registry of built-in commands. Single source of truth for dispatch,
help listing, collision detection, and shell completion.
Each leaf sub-command owns a #[derive(FdlArgs)] struct that carries
the canonical flag set. BuiltinSpec::schema_fn returns the
Schema derived from that struct, so completion rules
(--cuda <TAB> → 12.6 12.8, etc.) flow through the same pipeline
as project commands rather than a hand-mirrored flag table.
Structs§
- ApiRef
Args - Generate flodl API reference.
- Builtin
Spec - One built-in command (or sub-command) slot.
- Diagnose
Args - System and GPU diagnostics.
- Init
Args - Scaffold a new floDl project.
- Install
Args - Install or update fdl globally (~/.local/bin/fdl).
- Libtorch
Activate Args - Activate a libtorch variant.
- Libtorch
Build Args - Build libtorch from source.
- Libtorch
Download Args - Download a pre-built libtorch variant.
- Libtorch
List Args - List installed libtorch variants.
- Libtorch
Remove Args - Remove a libtorch variant.
- Schema
Clear Args - Clear cached schemas. No command name clears all.
- Schema
List Args - List cached
--fdl-schemaoutputs. - Schema
Refresh Args - Re-probe each entry and rewrite the cache.
- Setup
Args - Interactive guided setup wizard.
- Skill
Install Args - Install AI coding assistant skills.
Functions§
- is_
builtin_ name - True when
nameis a reserved top-level built-in (visible or hidden). Drives env-collision detection in first-arg resolution. - registry
- Ordered registry of every built-in. Order drives
fdl -hand the top-level completion word list, so it mirrors today’sBUILTINSconst inmain.rs. - visible_
top_ level - Visible top-level built-ins as
(name, description)pairs, in registry order. Feedsrun::print_project_helpand the fallbackprint_usage.