add Command
What It’s For
Bring another repository under workspace management.
What It Does
- Adds a repository URL to Arashi workspace configuration.
- Clones or connects the repository into the workspace structure.
- Makes the repository available for create, pull, sync, and setup operations.
Usage
arashi add <git-url> [options]Key Options
-n, --name <name>override the auto-derived repository name.--create-setupcreate a setup template when no setup script is found.-f, --forceskip confirmation prompts.--jsonoutput machine-readable results.
Examples
# Add a repository using SSH
# Add with a custom workspace namearashi add https://github.com/your-org/web.git --name frontend
# Emit JSON output for scriptsNotes
- Run
arashi initfirst so workspace config exists. adddetects the default branch and tracks setup scripts when present.