Sign inSign up

jamesmstone/shfmt

By jamesmstone

Updated over 4 years ago

A dockerised version of sh from https://github.com/mvdan/sh A shell formatter.

Image
1

10K+

jamesmstone/shfmt repository overview

sh

Build Status Docker Pulls

A dockerised version of sh

Usage

docker run -it --rm \
	-v "$(pwd)":/sh \
	-w /sh \
	jamesmstone/shfmt "$@"
One liner

docker run -it --rm -v "$(pwd)":/sh -w /sh jamesmstone/shfmt

Example

docker run -it --rm -v "$(pwd)":/sh -w /sh jamesmstone/shfmt -l -w script.sh

Tag summary

Content type

Image

Digest

Size

2 MB

Last updated

over 4 years ago

docker pull jamesmstone/shfmt