1. 首页
  2. 数据库
  3. 其它
  4. sh exec::laptop_computer:使用`Templateliterals`编写shell脚本使:red_heart_selector:开心 源码

sh exec::laptop_computer:使用`Templateliterals`编写shell脚本使:red_heart_selector:开心 源码

上传者: 2021-02-27 12:48:40上传 ZIP文件 83.93KB 热度 5次
##为什么使用sh-exec? 使用Template literals编写使脚本变得快乐的shell脚本 :red_heart_selector: 。 安装 $ yarn add sh-exec 例子 import sh from 'sh-exec' import { version } from '../package.json' sh ` echo "sh-exec is awesome." ` sh ` git init git add . git commit -m ' ${ version } ' ` 安静 如果您不喜欢查看命令输出或因为某些安全问题。 在CI中很有帮助。 imp
下载地址
用户评论