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

Provide a framework for commands to indicate which deployment types they support #418

Closed vscheuber closed 4 months ago

vscheuber commented 4 months ago

The frodo command structure does not provide any easy way to determine which command supports which deployment type. There cloud-only commands and there may be other exclusive-to-one-deployment-type commands in the future.

Often invoking a command unsuitable for the deployment type, inexplicable errors are of little help to the user learning that the command run does not apply for the platform instance they are connecting to.

Such a framework would ideally: