@typeshell/env
v0.0.4
Published
## 如何写文件和读文件
Downloads
2
Readme
shellenv
如何写文件和读文件
对于异步设计:
echo("Hello world\nHello universe")
.tee("filepath1", ["filepath2 in append-mode"], "filepath3")
echoln("Hello world", "Hello universe")
.tee("filepath1", ["filepath2 in append-mode"], "filepath3")
cat("filepath1", "filepath2")
对于同步设计
echo$("hello world", "hello world2")
.tee$("filepath1", ["filepath2 in append-mode"], "filepath3")
.tee$("filepath1", ["filepath2 in append-mode"], "filepath3")