We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
justfile:
command arg = "default": {{ if arg == "default" { "echo 'default arg {{ arg }}'" } else { "echo 'not default arg {{ arg }}'" } }}
enter in console: just command
just command
expected output:
echo 'default arg default' default arg default
real output:
echo 'default arg {{ arg }}' default arg {{ arg }}
The text was updated successfully, but these errors were encountered:
just doesn't perform {{…}} interpolation inside strings. You can use +:
just
{{…}}
+
command arg = "default": {{ if arg == "default" { "echo 'default arg " + arg + "'" } else { "echo 'not default arg " + arg + "'" } }}
See #11 for the issue. Don't look at how old it is T_T
Sorry, something went wrong.
personally, it seemed to me that formatting strings should get rid of this kind of code. Well okay. Thanks for the help
No branches or pull requests
justfile:
enter in console:
just command
expected output:
real output:
The text was updated successfully, but these errors were encountered: