-
Notifications
You must be signed in to change notification settings - Fork 505
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
Unable to pass arguments to shell commands #375
Comments
I'm seeing the same thing as above.
System configurationdotenv version: 2.7.0 Rails version: n/a Ruby version: 2.4.3 Only seeing this issue with 2.7.0 |
Yep, this is fallout from #374 to use a proper options parser instead of args hacking. For now, you can invoke with |
Again, apologies for the inconvenience on this! |
@cadwallion no apologies! Thanks for the swift response! |
This adds a flag matcher in addition to OptionParser that ensures that we only parse the flags leading up to the command we attempt to execute. Resolves #375
PR is up that appears to resolve the problem without a revert of #374. |
Steps to reproduce
Expected behavior
I expect to be able to pass arguments to commands prefixed by
dotenv
.Actual behavior
Arguments appear to go to
dotenv
.System configuration
dotenv version: 2.7.0
Rails version: n/a
Ruby version: 2.5.1
The text was updated successfully, but these errors were encountered: