copia-cli repo clone

copia-cli repo clone <owner/repo | URL> [<directory>]

Clone a Copia repository locally. The repository can be specified as owner/repo or as a full URL.

Options inherited from parent commands

--host <string>
Target Copia host
-R, --repo <string>
Select repository (owner/repo)
--token <string>
Authentication token

Examples

  # Clone by owner/repo
  $ copia-cli repo clone my-org/my-repo

  # Clone by URL
  $ copia-cli repo clone https://app.copia.io/my-org/my-repo.git

See also