Skip to main content

Module fdl_yml

Module fdl_yml 

Source
Expand description

Minimal text-based fdl.yml editor.

Same policy as super::cargo_toml: append-only, format-preserving, no external yaml-edit crate. Scope is appending a top-level command entry under commands: if the entry isn’t already declared.

By fdl.yml convention, a command with neither run: nor path: and no preset fields falls through to a Path command with the default ./<name>/ location, so the appended entry needs no explicit path: to make fdl <name> <subcmd> route into ./<name>/fdl.yml.

Enums§

AddCommandOutcome
Result of an add_command call.

Functions§

add_command
Append a top-level command entry under commands: in the fdl.yml at path if the entry isn’t already declared.