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

Refactor cmd packages #31

Merged
merged 8 commits into from
Dec 1, 2022
Merged

Refactor cmd packages #31

merged 8 commits into from
Dec 1, 2022

Conversation

inkel
Copy link
Collaborator

@inkel inkel commented Nov 30, 2022

This PR deletes some obsolete code and refactor how we declare flags and variables. In addition to this, it also renames cmd/clicommon to cmd/internal and cmd/unused/ui to cmd/unused/internal/ui, which are better suited names, as we're not expecting the contents of these packages to be used outside this project.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
This package only contains stuff useful for binaries created in this
repository, which are not meant to be exporter publicly.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
This simplifies code making it less indirect. It also allows us to
remove some types that aren't really needed.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
@inkel inkel self-assigned this Nov 30, 2022
This directory isn't meant to be exported.

Signed-off-by: Leandro López (inkel) <leandro.lopez@grafana.com>
@inkel inkel merged commit d030705 into main Dec 1, 2022
@inkel inkel deleted the refactor/cmd-packages branch December 1, 2022 18:38
@inkel inkel added this to the Release as OSS milestone Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant