Skip to content

Want to run an npm 'global' command from a moon task. Can tasks use standard input as args? #1023

Answered by milesj
lukastransom asked this question in Q&A
Discussion options

You must be logged in to vote

@lukastransom You need to use -- to separate moon args from their args: moon run astro:astro -- add @sanity/astro

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lukastransom
Comment options

Answer selected by lukastransom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants