gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.08k stars 577 forks source link

running deployed binary task argument missing #473

Closed u007 closed 7 years ago

u007 commented 7 years ago

this works, context args contains reset

buffalo task cache reset

but this fail:

heroku run bin/heroku task cache reset

it did run into my grift task, but context.ARGS length is 0

anyone can help with this?

markbates commented 7 years ago

It's probably an issue with the heroku cli. Try using quotes and see if that helps.

paganotoni commented 7 years ago

@u007 as a workaround you could change your task name to be cache:reset and split your cache task into multiple, smaller tasks

markbates commented 7 years ago

@u007 did quoting help with the heroku runner?

markbates commented 7 years ago

I'm closing this since we haven't heard more about it, and since it's most likely a Heroku command line issue. Please re-open if that's not the case.

u007 commented 7 years ago

i just confirmed that the issue isnt about heroku. i tried running this on my docker: and my build app has been using heroku name(just naming) ./bin/heroku t user:create xxx

my task user:create is executed, but all arguments is missing xxx wasn't passed into the grift

u007 commented 7 years ago

ive requested to reopen, but no reply , so i will recreate an issue