docs/ymlfmt.sh

5 lines
124 B
Bash
Executable File

#!/bin/bash
set -e
exec docker run -i --rm -v "$PWD":/scratch -w /scratch -u "$(id -u):$(id -g)" tianon/ymlfmt ymlfmt "$@"