QA Scaffold CLI Reference
qa-scaffold is a convention-first CLI for generating and operating QuickAddon QA scaffold projects.
The workflow is Python-only and designed to hide shell orchestration behind stable subcommands.
Command Surface
qa-scaffold init <path>
qa-scaffold build [--config <path>]
qa-scaffold sync [--config <path>]
Standard Flow
- Initialize scaffold:
qa-scaffold init ./qa_scaffolding
- Enter scaffold project and sync its environment:
cd qa_scaffolding
uv sync
- Build generated addon:
uv run qa-scaffold build
- Build and copy to sync target:
uv run qa-scaffold sync
Config Contract
Default config file in scaffold root:
qa_scaffold.toml
Typical defaults:
plugin_script = "src/sample_plugin.py"
out_dir = "build/addons"
sync_dir = "build/synced"
track = "v2"
force = true
doctor = true
blender = "4.0"
Rules:
- Config paths are resolved relative to the config file location.
trackmust bev1orv2.syncrunsbuildfirst, then copies output tosync_dir.
Convention Policy
- Users should not run shell scripts directly for scaffold operations.
- Canonical execution path is
uv run qa-scaffold <subcommand>. - Plugin identity still follows QuickAddon filename-stem policy.
Output Layout
After build/sync, expected structure is:
<scaffold>/build/addons/<plugin_stem>/...
<scaffold>/build/synced/<plugin_stem>/...