Expand description
Converts legacy setup.yaml (SetupSpec) into qa_spec::FormSpec.
This allows setup logic to drive provider configuration through a single
FormSpec-based wizard regardless of whether the provider ships a WASM
qa-spec op or a static setup.yaml file.
Functions§
- capitalize
- Capitalize the first character of a string.
- extract_
default_ from_ help - Extract default value from help text.
- infer_
default_ for_ id - Infer a default value for well-known question IDs.
- infer_
question_ properties - Infer
QuestionType, secret flag, and optional constraint from a question ID. - pack_
to_ form_ spec - Load a
FormSpecfrom a pack’ssetup.yaml, if present. - setup_
spec_ to_ form_ spec - Convert a legacy
SetupSpec(fromassets/setup.yaml) into aFormSpec. - strip_
domain_ prefix - Strip common domain prefixes from a provider ID for display.