1 Star 0 Fork 0

Kenny小狼 / bash-shell-to-bat-converter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 643 Bytes
一键复制 编辑 原始数据 按行查看 历史

Simple Bash script to Windows batch file converter

Converts bash scripts (*.sh) to windows batch files (*.bat). This is not supposed to be a fully complete/correct tool, but rather a starting point when converting scripts. For simple scripts this might create correct results.

Try it online: https://daniel-sc.github.io/bash-shell-to-bat-converter/

Usage

Setup:

git clone https://github.com/daniel-sc/bash-shell-to-bat-converter.git
cd bash-shell-to-bat-converter
npm install
npm run tsc

Usage:

node lib/cli.js FILE_TO_CONVERT.sh

This creates FILE_TO_CONVERT.bat.

Contribute

PRs always welcome ;-)

1
https://gitee.com/kennylee/bash-shell-to-bat-converter.git
git@gitee.com:kennylee/bash-shell-to-bat-converter.git
kennylee
bash-shell-to-bat-converter
bash-shell-to-bat-converter
master

搜索帮助