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

feat: Allow default options to be customzied with a flag. #35

Merged
merged 5 commits into from
Apr 9, 2024

Conversation

JeffFaer
Copy link
Collaborator

@JeffFaer JeffFaer commented Apr 9, 2024

No description provided.

This simplifies things a bit, and sets us up to add a flag to override
the default options.
@JeffFaer JeffFaer force-pushed the jfaer/flag_default_opts branch from f082634 to a6de573 Compare April 9, 2024 16:43
@JeffFaer JeffFaer changed the base branch from main to jfaer/default_opts April 9, 2024 17:24
@JeffFaer JeffFaer requested a review from KatrinaHoffert April 9, 2024 17:24
keepsorted/keep_sorted_test.go Outdated Show resolved Hide resolved
Base automatically changed from jfaer/default_opts to main April 9, 2024 19:12
JeffFaer added a commit that referenced this pull request Apr 9, 2024
This simplifies option parsing logic a bit, and sets us up to add a flag
to override the default options
(#35).

I also tweaked most of the tests in keep_sorted_test to not rely on the
default options at all and instead be more explicit about the behavior
they need to pass.
@JeffFaer JeffFaer merged commit aad93f3 into main Apr 9, 2024
5 checks passed
@JeffFaer JeffFaer deleted the jfaer/flag_default_opts branch April 9, 2024 19:48
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.

2 participants