0.0.5 • Published 10 years ago

capture-output v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
10 years ago

capture-output

将shell命令的输出截成图片。

基本用法

npm install capture-output
capture-output "ls -l"

注意事项

在windows中,有些命令可能无法执行,比如dir,这个命令在windows上并不是真正可执行的命令,它是依附在cmd中的, 如果要捕获dir命令的输出,则需要这样:

capture-output "cmd /c dir"

windows下其他命令类似。

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago