Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vscheuber opened this issue Jul 14, 2024 · 0 comments · Fixed by rockcarver/frodo-lib#431
Labels
enhancement New feature or request

Comments

@vscheuber
Copy link
Contributor

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:

  • indicate supported deployment type in the command help
  • gracefully terminate the command if used with the wrong deployment type
  • provide a clear error message to the user indicating the reason of the failure
@vscheuber vscheuber added the enhancement New feature or request label Jul 14, 2024
@vscheuber vscheuber linked a pull request Jul 15, 2024 that will close this issue
vscheuber added a commit that referenced this issue Jul 15, 2024
Resolves #418 - Provide a framework for commands to indicate which deployment types they support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant