diff --git a/src/pubtools/_pulp/tasks/copy_repo.py b/src/pubtools/_pulp/tasks/copy_repo.py index fadf175c..54b961c6 100644 --- a/src/pubtools/_pulp/tasks/copy_repo.py +++ b/src/pubtools/_pulp/tasks/copy_repo.py @@ -111,6 +111,13 @@ def __call__(self, /, *args, **keywords): class CopyRepo(CollectorService, PulpClientService, PulpRepositoryOperation): + """ + Copy content from one repository to another. + + This command copies content from one repository to another, for multiple provided `source,destination` pairs. + Copied content may optionally be filtered on content types. + If the user provides a non existing repo, the command fails. + """ @property def content_type_criteria(self): # Only return non-None if there were really any types given.