patsh

version deps license ci

A command-line tool for patching shell scripts inspired by resholve

sh nix run github:nix-community/patsh -- -f script.sh

Usage

``` Usage: patsh [OPTIONS] [OUTPUT]

Arguments: the file to be patched [OUTPUT] output path of the patched file, defaults to the input path, however, --force is required to patch in place

Options: -b, --bash bash command used to list the built-in commands [default: bash] -f, --force remove existing output file if needed -p, --path use something other than the PATH variable for path resolution -s, --store-dir path to the nix store, e.g. builtins.storeDir [default: /nix/store] -h, --help Print help information -V, --version Print version information ```

TODO

Changelog

See CHANGELOG.md