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

Rake の task にCUIから引数を渡すやり方が Array 形式しか無くて使いづらい。 Hash というか、名前付きで渡したい #102

Closed
kachick opened this issue Jun 5, 2021 · 2 comments
Labels

Comments

@kachick
Copy link
Owner

kachick commented Jun 5, 2021

https://dokuo.net/rails/rake-with-args/

@kachick kachick added help wanted Extra attention is needed question Further information is requested ruby labels Jun 5, 2021
@kachick kachick changed the title Rake の task に引数を渡すやり方が Array しか無くて拡張性に乏しい気がする。 Hash というか、名前付きで渡したい Rake の task にCUIから引数を渡すやり方が Array 形式しか無くて使いづらい。 Hash というか、名前付きで渡したい Jun 5, 2021
@kachick
Copy link
Owner Author

kachick commented Jun 5, 2021

そもそも rake task_name[val1,val2] この [] が zsh だと特別扱いされて面倒という事もあったので、 rake task_name{arg2:val2,arg1:val1} とか書けるようになれば一石二鳥では・・・?と思ったら、すでに proposal も PR も合った・・・
是非欲しい!

ruby/rake#81
ruby/rake#370

@kachick kachick removed help wanted Extra attention is needed question Further information is requested labels Jun 5, 2021
@kachick
Copy link
Owner Author

kachick commented Jun 25, 2022

Acceptされてないっぽいのはなにか理由あるのかな?

@kachick kachick closed this as completed Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant