[ 03 ]Commands
copia-cli repo collaborator add¶
copia-cli repo collaborator add <login> [flags]
Add a user as a collaborator of a Copia repository with read, write or admin permission (default write). For a user who is a collaborator already, the permission is changed to the given one.
Options¶
-p,--permission <string>- Permission of the collaborator: {read|write|admin} (default "write")
Options inherited from parent commands¶
--host <string>- Target Copia host
-R,--repo <string>- Select repository (owner/repo)
--token <string>- Authentication token
Examples¶
$ copia-cli repo collaborator add monalisa
$ copia-cli repo collaborator add monalisa --permission read
$ copia-cli repo collaborator add monalisa -p admin -R my-org/my-repo