rockcarver / frodo-cli

A CLI to manage ForgeRock platform deployments supporting Identity Cloud tenants, ForgeOps deployments, and classic deployments.
MIT License
19 stars 17 forks source link

Fix and improve --usage flag for ESVs and Scripts #442

Closed phalestrivir closed 2 months ago

phalestrivir commented 2 months ago

This PR fixes the --usage flag for esv and script list commands. Additionally, it improves the --usage flag to not only tell whether a script/esv is being used, but also how many times it is used.

The --usage flag was also added to esv describe commands. Additionally, the describe command was implemented for scripts so it could also use the --usage flag as well. The --usage flag differs for describe commands as it details where all locations of the usages are, whereas the list commands only detail the first location if one exists.