Closed neojski closed 9 years ago
It would be nice if I could say:
browser-run -b chrome whatever
And then see the whatever part in the script somehow. Maybe as process.argv?
whatever
process.argv
you could use https://github.com/hughsk/envify like so:
$ echo "console.log(process.env.FOO + process.env.BAR)" | FOO=foo BAR=bar envify | browser-run -b chrome foobar
does that work for you?
Cool, thanks!
It would be nice if I could say:
And then see the
whatever
part in the script somehow. Maybe asprocess.argv
?