DubStack
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 --ai

Flags

FlagDescription
-a, --allStage all changes before generating metadata
-u, --updateStage tracked file changes before generating metadata
-p, --patchPick hunks to stage before generating metadata
-y, --yesAuto-approve generated metadata without prompting
-i, --aiForce AI flow for this invocation
--no-aiDisable AI flow for this invocation
--dry-runPreview generated metadata without creating or submitting

Alias: dub f

Notes

  • AI mode requires dub config ai-assistant on plus a configured provider (dub ai setup or dub ai env).
  • The flow AI default can be set repo-wide with dub config ai-defaults flow on.
  • --ai and --no-ai are mutually exclusive overrides for a single run.

See also: dub create, dub submit, dub ai setup.

On this page