From 99777033eea87578ca3e74b24826adf8e37a806c Mon Sep 17 00:00:00 2001 From: Quirin Pamp Date: Wed, 20 Nov 2024 14:56:26 +0100 Subject: [PATCH] Add structure options to upload command --- pulpcore/cli/deb/content.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pulpcore/cli/deb/content.py b/pulpcore/cli/deb/content.py index a11d18f..6bc37a7 100644 --- a/pulpcore/cli/deb/content.py +++ b/pulpcore/cli/deb/content.py @@ -307,6 +307,20 @@ def content() -> None: help=_("An DEB binary"), allowed_with_contexts=(PulpDebPackageContext,), ) +@pulp_option( + "--distribution", + type=str, + required=False, + help=_("The APT repo distribution the package should be uploaded to"), + allowed_with_contexts=(PulpDebPackageContext,), +) +@pulp_option( + "--component", + type=str, + required=False, + help=_("The APT repo component the package should be uploaded to"), + allowed_with_contexts=(PulpDebPackageContext,), +) @repository_option @pass_entity_context @pass_pulp_context