Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

  1. Initialize scaffold:
qa-scaffold init ./qa_scaffolding
  1. Enter scaffold project and sync its environment:
cd qa_scaffolding
uv sync
  1. Build generated addon:
uv run qa-scaffold build
  1. 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.
  • track must be v1 or v2.
  • sync runs build first, then copies output to sync_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>/...