fortify / fcli

fcli is a command-line utility for interacting with various Fortify products
https://fortify.github.io/fcli/
Other
29 stars 16 forks source link

Move `--skip-if-exists` option to `CommonOptionMixins` #392

Open rsenden opened 11 months ago

rsenden commented 11 months ago

Various (create) commands in various modules (SSC, FoD, ...) provide a --skip-if-exists option to skip creation if the entity already exists. To ensure consistency, it would be better to move this option to CommonOptionMixins. We can define a common option description, although we may want to have the ability to override the description on a per-command basis to include the entity name like 'release', 'microservice', 'application version', ... in the description.

(tagged fcli-fod and fcli-ssc for now, need to verify whether this option also exists in other modules)