pub fn resolve(
section: &str,
defaults: &[(&str, &[&str])],
valid: impl Fn(&str) -> bool,
) -> KeysExpand description
The keys of section’s commands: the file’s where it names the command, else defaults.
valid says whether a key can be bound (one that cannot keeps the default). Commands the file
names that defaults lacks, and one key on two commands, are noticed.