Hello!
I usually run rake tasks with mina using
# locally
rake namespace:task
# with mina
mina rake[namespace:task]
But now I have a situation where the raketask accepts arguments
# locally
rake namespace:task[arg1,arg2]
# with mina (does not work)
mina rake[namespace:task[arg1,arg2]]
#=> Don't know how to build task 'namespace:task[arg1'
# with mina (also does not work)
mina rake[namespace:task["arg1","arg2"]]
#=> Don't know how to build task 'namespace:task[arg1'
How do I pass arguments correctly?
NB, I am using fish shell.
did you maybe try this:
mina 'rake[namespace:task["arg1","arg2"]]'
Tried these two, no luck.
Again, please note that I am using fish shell.
mina 'rake[namespace:task["arg1","arg2"]]'
# => Don't know how to build task 'namespace:task[arg1'
mina "rake[namespace:task['arg1','arg2']]"
#=> Don't know how to build task 'namespace:task[arg1'
Got it!
The comma is obviously messing it up, so I tried escaping it.
mina "rake[namespace:task[arg1\,arg2]]"
Most helpful comment
Got it!
The comma is obviously messing it up, so I tried escaping it.