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

⚠️ Switch to pflag #407

Merged
merged 1 commit into from
Sep 9, 2024
Merged

⚠️ Switch to pflag #407

merged 1 commit into from
Sep 9, 2024

Conversation

timebertt
Copy link
Member

@timebertt timebertt commented Sep 9, 2024

This PR refactors the command line flag handling to use pflag instead of flag.
This is a preparation for upcoming PRs, where list flags should be used, which is not supported by flag.

This is a breaking change because yawol components no longer accept flags with a single dash, but only with double dashes.
The helm chart is adapted accordingly, so users of the chart should not be required to adapt to this change.

Note: I decided to defer the chart version bump to a later PR so that we can release this together with the PR where we make use of pflag.

@nschad
Copy link

nschad commented Sep 9, 2024

This is a preparation for upcoming PRs, where list flags should be used, which is not supported by pflag.

You mean [...] which is not supported by flag?

@timebertt timebertt merged commit d2ba3bd into main Sep 9, 2024
2 checks passed
@timebertt timebertt deleted the pflag branch September 9, 2024 13:56
@timebertt timebertt mentioned this pull request Sep 10, 2024
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.

3 participants