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

Improve the way of passing args down to underlying tools #5

Closed
sbekrin opened this issue May 14, 2019 · 0 comments · Fixed by #7
Closed

Improve the way of passing args down to underlying tools #5

sbekrin opened this issue May 14, 2019 · 0 comments · Fixed by #7
Labels
core enhancement New feature or request

Comments

@sbekrin
Copy link
Contributor

sbekrin commented May 14, 2019

🚀 Feature Proposal

Motivation

Currently all commands requires -- to indicate that we want to pass arguments to underlying tools they execute. Although it's a common pattern, it adds a bit of mental complexity to remember to always add those. It also doesn't play nicely with yarn, which cuts first -- and as result requires using something like spire lint -- -- --fix.

Example

Current way:

spire lint --debug -- --fix

Proposed way:

spire --debug lint --fix
@sbekrin sbekrin added core enhancement New feature or request labels May 14, 2019
sbekrin pushed a commit that referenced this issue May 15, 2019
sbekrin pushed a commit that referenced this issue May 15, 2019
sbekrin pushed a commit that referenced this issue May 15, 2019
fixes #6 and resolves #5
sbekrin pushed a commit that referenced this issue May 15, 2019
fixes #6 and resolves #5
sbekrin pushed a commit that referenced this issue May 15, 2019
fixes #6 and resolves #5
sbekrin pushed a commit that referenced this issue May 15, 2019
sbekrin pushed a commit that referenced this issue May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant