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!: Stop parsing flags after tool name in shed run #13

Merged
merged 2 commits into from
May 20, 2021
Merged

Conversation

cszatmary
Copy link
Owner

shed run no longer parses flags after the tool name. Previously flags were allowed to occur anywhere so shed couldn't tell which flags were meant for shed, and which ones were meant for the tool. As a result, -- had to be used before tool flags which lead to a clumsy experience, ex: shed run stringer -- -type=Pill.

Now shed run will stop parsing flags after the first non-flag argument, i.e. the tool name. So the previous example would now be shed run stringer -type=Pill.

@cszatmary cszatmary merged commit 3736ed4 into master May 20, 2021
@cszatmary cszatmary deleted the run-flags branch May 20, 2021 22:32
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.

1 participant