Skip to content

Commit 9c003af

Browse files
committed
Add ability to specify content-guard while creating distribution
closes #232 Signed-off-by: Balasankar 'Balu' C <balu@dravidam.net>
1 parent d4d8a43 commit 9c003af

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGES/232.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add ``--content-guard`` flag to distribution commands.

pulpcore/cli/deb/distribution.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
PulpCLIContext,
1111
base_path_contains_option,
1212
base_path_option,
13+
content_guard_option,
1314
create_command,
1415
destroy_command,
1516
href_option,
@@ -68,6 +69,7 @@ def distribution(ctx: click.Context, pulp_ctx: PulpCLIContext, /, distribution_t
6869
click.option("--base-path"),
6970
click.option("--publication", help=_("Publication to be served.")),
7071
repository_option,
72+
content_guard_option,
7173
checkpoint_option,
7274
]
7375
create_options = update_options + [click.option("--name", required=True)]

0 commit comments

Comments
 (0)