create Command
What It’s For
Start feature work across multiple repositories from a single command.
What It Does
- Creates a worktree for the target branch in each configured repository.
- Ensures repositories are aligned to the same branch name.
- Runs configured lifecycle hooks when present.
Usage
arashi create <branch> [options]Key Options
--only <repos>limit creation to comma-separated repository names.-i, --interactivepick repositories interactively.--switchswitch to the created parent worktree after create.--no-switchdisable configured create switch defaults for one invocation.--launchopen a terminal/editor context after create.--no-launchdisable configured create launch defaults for one invocation.--seshforce sesh launch mode (implies launch behavior).--conflict <strategy>preselect conflict handling (ABORT,REUSE_EXISTING).--no-hooksdisable hook execution.--no-progresshide progress indicators.--dry-rungenerate a plan without creating worktrees.
Examples
# Create branch worktrees across the workspacearashi create feature-auth-refresh
# Create in specific repositories onlyarashi create feature-auth-refresh --only api,web
# Force launch for this runarashi create feature-auth-refresh --launch
# Disable configured launch default for this runarashi create feature-auth-refresh --no-launch
# Review the plan firstarashi create feature-auth-refresh --dry-runNotes
createvalidates branch names and repository readiness.- On failure, coordinated operations can roll back to keep repos consistent.
- Configure defaults in
.arashi/config.jsonunderdefaults.create(switch,launch,launchMode). - Precedence for launch/switch behavior is: explicit flag > opt-out flag > config default > built-in default.