unknown flag when passing arguments from CLI to Task #514
Unanswered
m-soliman3
asked this question in
Q&A
Replies: 2 comments
|
Hi @m-saeed-soliman, Can you mention which OS, shell and Task version you are using? Someone have said that on Powershell on Windows you have to quote |
0 replies
|
Thank you for reply. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am trying to use the pretty new feature to pass arguments from CLI when running task to the command itself.
1 add
{{.CLI_ARGS}}at the end of the taskcmds2 used the command as
task myTask -- --myArgumentToPassI always get an error that
--myArgumentToPassis unknown flag. Task doesn't understand that I am not sending it aan argument and want it only to pass it to my task itself. Does anyone know how to solve this?All reactions