Closed corysimmons closed 7 years ago
Yeah, that's the idea. Shx exposes ShellJS implementations to the commandline.
node myScript.js
)"clean": "shx rm -rf out/"
)Closing this for now. Ping this thread if you need further clarification 😄
Nice, thank you.
I just noticed there is a spot for this in the ShellJS README. Maybe add exactly what you wrote above in this README as well? I ended up here because ShellJS was like "USE SHX FOR COMMANDS" and I was like "I want commands!" then I got here and was like "Wait, how is this different from ShellJS?"
@corysimmons if you have some idea of what would make the docs more helpful, I'll gladly look over a pull request :smile:
haha, no problem.
I only see CLI and npm script usage. Is ShellJS for JS and shx is for CLI?