没有合适的资源?快使用搜索试试~ 我知道了~
shellac:将您的shell脚本涂上一些更漂亮的东西
共20个文件
ts:10个
json:3个
js:2个
需积分: 9 0 下载量 148 浏览量
2021-03-21
00:41:58
上传
评论
收藏 97KB ZIP 举报
温馨提示
虫胶 一种使调用一系列Shell命令更安全,更美观的工具。 用法 import shellac from 'shellac' test ( 'morty' , async ( ) => await shellac ` $ echo "End-to-end CLI testing made nice" $ node -p "5 * 9" stdout >> ${ ( answer ) => expect ( Number ( answer ) ) . toBeGreaterThan ( 40 ) } ` ) 句法 基本命令 await shellac ` // To execute a command, use $ $ my command here // If you want the output piped through to process.stdo
资源推荐
资源详情
资源评论
收起资源包目录
shellac-master.zip (20个子文件)
shellac-master
.gitignore 32B
tsconfig.json 646B
README.md 8KB
.github
workflows
node.js.yml 729B
test
failures.test.ts 339B
parser.test.ts 5KB
basic.test.ts 10KB
LICENSE 1KB
package.json 1KB
babel.config.json 70B
src
types.ts 1KB
parser.js 2KB
child-subshell
types.ts 181B
shell.ts 871B
utils.ts 283B
command.ts 4KB
execute.ts 6KB
index.ts 2KB
jest.config.js 69B
yarn.lock 211KB
共 20 条
- 1
资源评论
葵烟
- 粉丝: 18
- 资源: 4600
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功