Closed freitagbr closed 6 years ago
Might be good to implement those two as one shelljs plugin.
What's the use case for shx? Is it just to do something like:
"foo": "commandThatMayFail || shx true"
...
$ npm run foo
to avoid the ugly npm error message without using --silent
?
@freitagbr any interest in creating shelljs-plugin-true-false
? Do you think there's still a use-case for shx true
and shx false
?
I think it would be helpful to add the unix
true
andfalse
commands toshx
. I don't know if these should be added to ShellJS itself, or simply parsed out and interpreted directly in shx, though I think I'd lean toward the latter.