[Seek Help] How to pass parameters when executing *.mjs ?? #319
Unanswered
qq1147050160
asked this question in
Help needed
Replies: 2 comments
-
直接用 node.js 获取
|
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use await $`echo ${JSON.stringify(argv)}` Output
|
Beta Was this translation helpful? Give feedback.
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.
-
Expected Behavior
$ zx demo.mjs -- How to add parameters??
Can it be like *.sh ?? -> ./demo.sh $1 $2 $3...
Beta Was this translation helpful? Give feedback.
All reactions