Skip to content

Latest commit

Β 

History

History
33 lines (22 loc) Β· 791 Bytes

README.md

File metadata and controls

33 lines (22 loc) Β· 791 Bytes

πŸͺ Hook

Warning

Work in progress. Most fish built-ins left as is.

Hook is a fish parser and transpiler.

Hook can translate fish scripts to clean, idiomatic Bash scripts, allowing them to run (almost) anywhere.

Note

Install

  • Nix

    nix profile install github:kidonng/hook

Usage

Warning

Hook translation may produce unexpected result. Check output before serious usage.

# Translate from stdin
echo 'set hello world; and echo $hello' | hook

# Translate to stdout
hook script.fish > script.sh