CLI Interactive Wizard¶
The aptdata interactive command launches a guided menu-driven wizard that
exposes all framework capabilities without requiring knowledge of the full
command tree.
Starting the wizard¶
The wizard uses questionary for
interactive prompts when it is installed. It gracefully falls back to plain
typer.prompt() / typer.confirm() if questionary is not available.
Main menu¶
What would you like to do?
π Run a registered system
π List systems / plugins
π Inspect a plugin
π Config (validate / run YAML)
ποΈ Scaffold a new project
βοΈ Telemetry status
β Exit
Wizard flows¶
π Run¶
- Select a registered system from the registry
- Choose an environment:
dev,staging, orprod - Confirm dry-run (yes β skip execution, no β call
run()) - Execute and stream Rich live output
π List¶
- Choose what to list: Systems / Readers / Writers / All plugins
- View a Rich table
- Optionally inspect a specific item
π Inspect¶
- Select a plugin from the registered readers + writers
- View the constructor argument schema in a Rich table
π Config¶
- Choose: Load existing YAML or generate a template
- Validate the file (reports errors with context)
- Preview the YAML content with syntax highlighting
- Optionally run the system
ποΈ Scaffold¶
- Enter the project name
- Select a template:
hello-world,medallion,rag-ingestion,data-quality-test - Enter the output directory (default:
.) - Generate files and confirm success
βοΈ Telemetry¶
- Show OpenTelemetry provider status
- Optionally export telemetry as JSON
Configuration¶
The wizard reuses the same rendering and logic as the static CLI commands, so all output (tables, panels, syntax highlighting) is consistent.
Disabling questionary¶
If you want to use plain prompts without the questionary dependency, simply uninstall it:
The wizard will automatically fall back to typer.prompt().