fortify / fcli

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

fix: ssc create: the `--attrs` now supports multiple attributes with multiple values #491

Closed gendry-gh closed 5 months ago

gendry-gh commented 6 months ago

fix: ssc create: the --attrs now supports multiple attributes with multiple values

Previously, the following inputs would fail--attrs "Interfaces=Batch Processing Console,GUI,Development Phase=Active Development" or even --attrs "Interfaces=Batch Processing Console,GUI", because at both level, the expected separator is ,. Now, the Attribute separator is still ,, and the value separator becomes ;, with [ ] surrounding the values (optional with single value), allowing it to work.

Example: --attrs "Interfaces=[Batch Processing Console;GUI],Development Phase=Active Development,Application Type=Application"