diff --git a/pulpcore/cli/file/distribution.py b/pulpcore/cli/file/distribution.py index 09974bbb..76f3e96d 100644 --- a/pulpcore/cli/file/distribution.py +++ b/pulpcore/cli/file/distribution.py @@ -71,6 +71,12 @@ def distribution(ctx: click.Context, pulp_ctx: PulpCLIContext, distribution_type repository_option, content_guard_option, pulp_labels_option, + click.option( + "--checkpoint", + is_flag=True, + default=False, + help=_("Create a checkpoint distribution."), + ), ] create_options = common_distribution_create_options + update_options diff --git a/pulpcore/cli/file/publication.py b/pulpcore/cli/file/publication.py index 2b706f49..bc6cb4eb 100644 --- a/pulpcore/cli/file/publication.py +++ b/pulpcore/cli/file/publication.py @@ -56,6 +56,12 @@ def publication(ctx: click.Context, pulp_ctx: PulpCLIContext, publication_type: "--manifest", help=_("Filename to use for manifest file containing metadata for all the files."), ), + click.option( + "--checkpoint", + is_flag=True, + default=False, + help=_("Create a checkpoint publication"), + ), ] publication.add_command(list_command(decorators=publication_filter_options + [repository_option])) publication.add_command(show_command(decorators=lookup_options))