pub fn generate_with_types(
spec: &Spec,
opts: &GoOptions,
field_types: &BTreeMap<String, ValueType>,
) -> Result<String, String>Expand description
Generate explicitly typed fields, keyed by the generated flag/argument constants.
Unlike generate, this rejects unknown keys and entries without text values.
Types are Go-specific configuration, not inferred from usage placeholder names.