How to forward CLI arguments to a command #1673
-
Hi, I would like to forward the remainder arguments when launching a command with Just: run:
node main.js $ just run --out file.txt --type d This would run: Is it possible? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
laniakea64
Sep 21, 2023
Replies: 1 comment 1 reply
-
You can give the recipe a variadic parameter:
If your additional command-line arguments contain whitespace or other characters that are special to the shell, see https://just.systems/man/en/chapter_58.html |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
johhnry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can give the recipe a variadic parameter:
If your additional command-line arguments contain whitespace or other characters that are special to the shell, see https://just.systems/man/en/chapter_58.html