Public | Automated Build

Last pushed: 3 months ago
Short Description
A dockerised version of sh from https://github.com/mvdan/sh A shell formatter.
Full Description

sh

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

Docker Pull Command
Owner
jamesmstone
Source Repository