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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file shellfmt-0.1.2.tar.gz.

File metadata

  • Download URL: shellfmt-0.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/24.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.25.11 tqdm/4.60.0 importlib-metadata/1.5.0 keyring/21.1.1 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.13

File hashes

Hashes for shellfmt-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2775217afc4aadc2f24514848dfe0b80d6d81491d29301465c47dd8f4f72c569
MD5 44aaa55cab4dd3df727393cac60f56c1
BLAKE2b-256 2419fa595c41ecd758ddc67ec5b171e91420fa7df67a6846bccae21d2fb73459

See more details on using hashes here.

File details

Details for the file shellfmt-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: shellfmt-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/24.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.25.11 tqdm/4.60.0 importlib-metadata/1.5.0 keyring/21.1.1 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.13

File hashes

Hashes for shellfmt-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b242b62f84adfb3fb0c3e8d39304180f7a4c84eaa3f7f3815fdd742ff95def60
MD5 5b3f93494909c1ab6ae74aeae4fe34cd
BLAKE2b-256 966cba580f3b62848a49a2edbc49788014089c80f5153816cd145a9af61e9748

See more details on using hashes here.

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