Skip to content

Latest commit

 

History

56 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪝 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

About

🪝 fish parser and transpiler

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages