Skip to main content

Module wizard

Module wizard 

Source
Expand description

QA-aware setup wizard that unifies WASM-based qa-spec and legacy setup.yaml into a single FormSpec-driven flow.

Provides both interactive CLI prompts and Adaptive Card rendering for collecting provider configuration answers.

Re-exports§

pub use crate::qa::prompts::answer_satisfies_question;
pub use crate::qa::prompts::ask_form_spec_question;
pub use crate::qa::prompts::has_required_questions;
pub use crate::qa::prompts::matches_pattern;
pub use crate::qa::prompts::parse_typed_value;
pub use crate::qa::prompts::prompt_form_spec_answers;
pub use crate::qa::prompts::prompt_form_spec_answers_with_existing;
pub use crate::qa::shared_questions::ProviderFormSpec;
pub use crate::qa::shared_questions::SHARED_QUESTION_IDS;
pub use crate::qa::shared_questions::SharedQuestionsResult;
pub use crate::qa::shared_questions::build_provider_form_specs;
pub use crate::qa::shared_questions::collect_shared_questions;
pub use crate::qa::shared_questions::merge_shared_with_provider_answers;
pub use crate::qa::shared_questions::prompt_shared_questions;

Functions§

compute_visibility
Compute the visibility map for a FormSpec given the current answers.
render_qa_card
Render a QA setup step as an Adaptive Card v1.3.
run_qa_setup
Run the QA setup wizard for a provider pack.
run_qa_setup_with_shared
Run QA setup for a provider with pre-filled shared answers.
validate_answers_against_form_spec
Validate answers against a FormSpec, checking required fields and constraints.