Skip to content

clone Command

What It’s For

Recover missing local repositories without re-adding them to workspace configuration.

What It Does

  • Detects repositories already defined in .arashi/config.json that are missing on disk.
  • Lets you choose which missing repositories to clone in interactive mode.
  • Clones all missing repositories in non-interactive mode with --all.
  • Skips repositories that are already present locally.

Usage

Terminal window
arashi clone [options]

Key Options

  • --all clone all missing configured repositories without selection prompts.

Examples

Terminal window
# Pick from missing repositories interactively
arashi clone
# Clone every missing configured repository
arashi clone --all

Notes

  • clone only works on repositories already configured in the workspace.
  • If no repositories are missing, the command exits successfully with no clone action.
  • If you’re in a non-interactive environment, use --all.