We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When creating tasks that take multiple optional arguments, specifying parameters becomes tedious.
When calling the following task
task :test, [:database, :table, :column, :host, :port, :user, :password] do # Something end
and specifying only parameter user, I have to count its position and call rake as follows:
user
rake 'test[,,,,,testuser,]'
I suggest supporting a syntax using named parameters that makes calling these tasks easier and more readable, e.g.
rake 'test{user:testuser}'
I'd like to put this up for discussion, if it is acceptable, I'm willing to create a pull request.
The text was updated successfully, but these errors were encountered:
Sorry, too too late response. I prefer your proposal.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When creating tasks that take multiple optional arguments, specifying parameters becomes tedious.
When calling the following task
and specifying only parameter
user
, I have to count its position and call rake as follows:I suggest supporting a syntax using named parameters that makes calling these tasks easier and more readable, e.g.
I'd like to put this up for discussion, if it is acceptable, I'm willing to create a pull request.
The text was updated successfully, but these errors were encountered: