prlt repo

Manage the repositories registered in your headquarters. Agents work across these repos when executing tickets.

Subcommands

CommandDescription
repo listList all registered repositories
repo addAdd a repository to the HQ
repo createCreate a new GitHub repository and register it
repo removeRemove a repository from the HQ
repo viewView repository details

repo list

$ prlt repo list

  web       /path/to/web       main    github.com/org/web
  api       /path/to/api       main    github.com/org/api
  mobile    /path/to/mobile    main    github.com/org/mobile

repo add

Register an existing repository with your HQ.

# Add a single repo
$ prlt repo add ./my-repo

# Add multiple repos at once
$ prlt repo add --bulk ./repo1,./repo2,./repo3

repo create

Create a new GitHub repository and register it in one step.

$ prlt repo create my-new-repo

Note

Requires GitHub CLI authentication. Run prlt gh login first if you haven't already.

repo remove

# Remove a single repo
$ prlt repo remove web

# Remove multiple repos
$ prlt repo remove --bulk web,api

repo view

View details about a registered repository including its path, remote, and branch info.

$ prlt repo view web