Skip to main content

format .sh file

Project description

格式化shell脚本

工具说明

开发环境为 win7, 测试环境和生产环境均为linux,经常出现这样的问题: 在开发环境下写的shell脚本文件,发布到测试环境和生产环境,就会出现兼容问题,无法运行。

安装及使用

安装:

pip install shellfmt

使用:

shellfmt --fname=myproject.sh

或者对整个目录使用:

shellfmt --fname=d:\projet\myshell

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shellfmt-0.1.2.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

shellfmt-0.1.2-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page