Add --export-only flag to jf rbe command #1234
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Add --export-only flag to jf rbe command
Summary
This PR adds a new
--export-onlyflag to thejf rbe(release-bundle-export) command, allowing users to trigger the export process without waiting for the download to complete.Problem
Currently, the
jf rbecommand always waits for the export process to complete and then downloads the bundle file. In some scenarios, users may want to:Solution
--export-onlyboolean flag to therbecommand--export-onlyis set totrue, the command only triggers the export process and returns immediately--export-onlyisfalse(default), the command maintains the existing behavior (export + download)ExportReleaseBundleOnlymethod in the lifecycle serviceChanges Made
jfrog-client-go
ExportReleaseBundleOnlymethod that triggers export without waitingjfrog-cli-artifactory
ExportOnlyflag definition and command flags mappingexportOnlyfield toReleaseBundleExportCommandstructRun()method to conditionally call export-only or full export+downloadSetExportOnly()method--export-onlyflag valueUsage Examples
Testing
--export-onlyflagBackward Compatibility
This change is fully backward compatible. The default behavior remains unchanged, and the new flag is optional.
Related Issues
Fixes the requirement to add export-only functionality to release bundle export command.
Sign CLA
I have read the CLA Document and I hereby sign the CLA
recheck