fortify / fcli

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

fcli ssc appversion update: --name option consistency #184

Closed rsenden closed 1 year ago

rsenden commented 1 year ago

When updating an appversion by name, the appversion to be updated must be specified as appName:versionName. However, the --name option (to rename the application version) expects a plain version name rather than newAppName:newVersionName. This may be confusing to users, potentially making them rename appName:versionName to appName:appName:versionName. Also, it means that currently it is not possible to update the application name using the appversion update command, which is not consistent with the SSC UI.

How can we make this more consistent? Simple have --name require app:version (also allowing to rename the app), have it accept both version and app:version, ...?

rsenden commented 1 year ago

We'll support both formats; if appname is specified then it must match the original appname otherwise we throw an error