kidonng/hook

๐Ÿช fish parser and transpiler

โ˜… 0Forks 0RustGitHub โ†—Compare

README

๐Ÿช 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

Want the reverse (Bash โ†’ fish)? Checkout Bait!

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

Contributors

kidonng

Issues