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

Clean Up CLI #455

Open
IfSentient opened this issue Nov 4, 2024 · 0 comments
Open

Clean Up CLI #455

IfSentient opened this issue Nov 4, 2024 · 0 comments
Labels

Comments

@IfSentient
Copy link
Contributor

This is a large issue which will likely need sub-tasks. The CLI is somewhat confusing from both a usability and code standpoint. While grafana-app-sdk generate is a simple, well-understood command, a lot of flags have been added as new functionality comes online. Other commands are less obvious or usable. We should propose a set of CLI commands in addition to generate that can achieve all desired functionality, and clean up the various flags. Viper or something similar should be investigates to allow flags to be set via a file or env if desired.

The functions the CLI should achieve:

  • Generate code and mainfest from statically-defined kinds (CUE, OpenAPI and possibly TS in the future)
  • Bootstrap an initial project
  • Generate kubernetes manifests (and/or jsonnet?) for a local and/or simple remote deployment (once grafana API server supports CRDs/AppManifest, this becomes simpler)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant