How to generate a file using command line - Stack Overflow
代言2017-06-12 09:28:34
0
1
747
Now I am working on an automated front-end process using webpack gulp. The other steps have been completed, and there is still the last step. I want to directly enter a command to generate an html, scss, and js file. How to achieve this?
Use node’s fs module to write files Use npm link to specify your own instructions on the command line You need a commander for command line parameter processing (just npm install) Attached is a good tutorial http://www.ruanyifeng. com/blo…
Use node’s fs module to write files
Use npm link to specify your own instructions on the command line
You need a commander for command line parameter processing (just npm install)
Attached is a good tutorial http://www.ruanyifeng. com/blo…