CLI Reference

Sync

vcspull sync pulls and clones repositories from config.

vcspull sync
Add

vcspull add records one repository in your config file.

vcspull add
List

vcspull list shows configured repositories.

vcspull list
Search

vcspull search searches repos by name, path, or URL.

vcspull search
Status

vcspull status checks working-tree status.

vcspull status
Discover

vcspull discover scans directories for existing repos.

vcspull discover
Format

vcspull fmt normalizes config files.

vcspull fmt
Migrate

vcspull migrate rewrites legacy options into canonical blocks.

vcspull migrate
Import

vcspull import imports repos from GitHub, GitLab, and more.

vcspull import
Worktrees

vcspull worktree manages git worktrees declaratively.

vcspull worktree
Config

vcspull config shows which config files are in effect.

vcspull config
Trust

vcspull trust allows a project config to act outside its directory.

vcspull trust
Completion

Shell completions for bash, zsh, and tcsh.

Completions

Completion

Global options

Top-level options apply across subcommands:

  • --version / -V prints the vcspull and libvcs versions and exits.

  • --log-level LEVEL sets CLI logging verbosity (debug, info, warning, error, or critical; default info). Actionable VCSPullError failures print a single vcspull: <message> line on stderr unless --log-level debug is set.

  • --no-project (or VCSPULL_NO_PROJECT=1) skips ancestor .vcspull.* files during scope resolution. Accepted before or after any subcommand that resolves configuration scopes.

  • --trust-project (or VCSPULL_YES=1) authorizes project configurations whose checkout destinations resolve outside their own directory without prompting; see vcspull trust. Accepted before or after any subcommand that acts on project configurations.

Command: vcspull

Usage

usage: vcspull [-h] [--trust-project] [--no-project] [--version]
               [--log-level level]
               {sync,list,status,search,add,discover,fmt,migrate,import,config,trust,worktree} ...

Options

--trust-project

load project configs that check repositories out beyond their own directory (also VCSPULL_YES=1)

--no-project

skip .vcspull.* files found above the working directory

--version, -V

show program's version number and exit

--log-level level

log level (debug, info, warning, error, critical)

Default
INFO