Commands
dub flow
Stage, preview, create, and submit an AI-assisted DubStack change in one shot.
Usage
# Stage all, preview AI metadata, create branch + commit, submit
dub flow --ai -a
# Same, but auto-approve generated metadata
dub flow -y -u
# Preview generated branch, commit, and PR text only
dub flow --dry-run
# Alias
dub f --aiFlags
| Flag | Description |
|---|---|
-a, --all | Stage all changes before generating metadata |
-u, --update | Stage tracked file changes before generating metadata |
-p, --patch | Pick hunks to stage before generating metadata |
-y, --yes | Auto-approve generated metadata without prompting |
-i, --ai | Force AI flow for this invocation |
--no-ai | Disable AI flow for this invocation |
--dry-run | Preview generated metadata without creating or submitting |
Alias: dub f
Notes
- AI mode requires
dub config ai-assistant onplus a configured provider (dub ai setupordub ai env). - The
flowAI default can be set repo-wide withdub config ai-defaults flow on. --aiand--no-aiare mutually exclusive overrides for a single run.
See also: dub create, dub submit, dub ai setup.