diff --git a/CHANGES/232.feature b/CHANGES/232.feature new file mode 100644 index 0000000..c4efe56 --- /dev/null +++ b/CHANGES/232.feature @@ -0,0 +1 @@ +Add ``--content-guard`` flag to distribution commands. diff --git a/pulpcore/cli/deb/distribution.py b/pulpcore/cli/deb/distribution.py index b23d85a..41e7e79 100644 --- a/pulpcore/cli/deb/distribution.py +++ b/pulpcore/cli/deb/distribution.py @@ -10,6 +10,7 @@ PulpCLIContext, base_path_contains_option, base_path_option, + content_guard_option, create_command, destroy_command, href_option, @@ -68,6 +69,7 @@ def distribution(ctx: click.Context, pulp_ctx: PulpCLIContext, /, distribution_t click.option("--base-path"), click.option("--publication", help=_("Publication to be served.")), repository_option, + content_guard_option, checkpoint_option, ] create_options = update_options + [click.option("--name", required=True)]