repository-service-tuf / repository-service-tuf-cli

Repository Service for TUF: Command Line Interface
https://pypi.org/project/repository-service-tuf/
MIT License
8 stars 15 forks source link

Add '--dry-run' option for 'ceremony' and 'sign' commands #630

Closed MVrachev closed 1 week ago

MVrachev commented 2 weeks ago

Description

The '--dry-run' option scope is regarding the command output. This means that when the option is used it will not influence the input options. Instead, it will directly interfere with the output. If '--dry-run' is used, then the CLI will ignore both '--api-server' admin option and the RSTUF configuration file and its corresponding SERVER option.

Signed-off-by: Martin Vrachev martin.vrachev@broadcom.com

Related to #533.

Types of changes

Additional requirements

Code of Conduct

By submitting this PR, you agree to follow our Code of Conduct.

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.96%. Comparing base (47d0a69) to head (1c99491). Report is 110 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #630 +/- ## ========================================== + Coverage 98.90% 98.96% +0.06% ========================================== Files 20 30 +10 Lines 1367 1936 +569 ========================================== + Hits 1352 1916 +564 - Misses 15 20 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.