-
-
Notifications
You must be signed in to change notification settings - Fork 252
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
Option for put no space between parameter and value #288
Comments
Hey, unfortunately, it's not supported :( |
I looked for it too becauce i could not belive it. ^^ |
Hi @miksir I think the second one is cooler, though a bit dangerous. I think we can try it and see if there are any complaints :) |
ok, will make PR today |
example:
terraform apply -var="image_id=ami-abc123"
…On Wed, Jun 10, 2020 at 1:52 PM miksir ***@***.***> wrote:
ok, will make PR today
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#288 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCXF3KLGYXO7QFH7C5A7MTRV5QWLANCNFSM4L4JTVSA>
.
|
Hi @yosefy, how do you do it now? With a wrapping script? |
Is quotes required here? Usually quotes used only if value with spaces and only because shell use space as arg delimiter. But in case of popen args passed to system as separate items and quotes not required. Am I right? |
How mutiple arguments list shoud work? |
@miksir I think in the same way as normal behavior. By using |
Last one you can't achieve. multiple_arguments with separator= Same trouble with current behavior.
Gives
but
gives
so there is no way to make |
My suggestion is to change current behaviour too, but its breaks BC :( |
yep
…On Wed, Jun 10, 2020 at 2:04 PM Iaroslav Shepilov ***@***.***> wrote:
Hi @yosefy <https://github.com/yosefy>, how do you do it now? With a
wrapping script?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#288 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCXF3NB2F42MOAFF4UGL73RV5SDXANCNFSM4L4JTVSA>
.
|
Ah, true, that case is missing. I think both of your 2nd and 3rd proposals make sense. There can be such option (may be, I would call it |
Never saw |
https://stackoverflow.com/questions/15753701/how-can-i-pass-a-list-as-a-command-line-argument-with-argparse here different answers suggest different syntax styles, with all 3 variants here. So I would assume all 3 variants exist in a wild |
PR #310 |
#288 Remove space between arg name and value, support of arg repeating with each value
To execute packer with the parameter
-var-file=
you need to put the path directly behind
'='
with no space.
When i select a server-file it puts a whithespace between the parameter and the path.
At the moment i think this is not posible to change the behavior.
If it is can u tell me how?
btw. Thanks for your great work.
The text was updated successfully, but these errors were encountered: