gulp-run:管道连接到gulp中的shell命令

时间:2021-02-03 16:47:44
【文件属性】:
文件名称:gulp-run:管道连接到gulp中的shell命令
文件大小:12KB
文件格式:ZIP
更新时间:2021-02-03 16:47:44
javascript gulp stream vinyl GulpJavaScript 吞食 在gulp或Vinyl管道中使用shell命令。 许多命令行界面都是围绕管道的概念构建的。 让我们在Gulp管道中利用它! 要使用gulp-run,只需告诉它处理文件的命令即可; gulp-run接受您可以写入外壳程序的任何命令,包括python < baz.py | cat foo.txt - bar.txt等I / O重定向python < baz.py | cat foo.txt - bar.txt python < baz.py | cat foo.txt - bar.txt 。 此外,该路径中包含node_modules/.bin ,因此您可以调用已安装软件包提供的程序。
【文件预览】:
gulp-run-master
----.eslintrc(679B)
----.travis.yml(219B)
----gulpfile.js(2KB)
----test()
--------command.test.js(901B)
--------index.test.js(4KB)
--------util.js(3KB)
--------_resource()
----LICENSE.md(856B)
----README.md(6KB)
----dist()
--------.gitignore(14B)
----.editorconfig(147B)
----.gitignore(13B)
----command.js(5KB)
----index.js(2KB)
----package.json(1KB)

网友评论