Shifu – A pure POSIX shell framework to create powerful CLIs
Shifu – A pure POSIX shell framework to create powerful CLIs
The startup I work for has an internal, bash-based, cli that basically amounts to shared aliases with a common entrypoint. As the number of aliases has grown, I've had a desire to group functionality together in subcommands, add more help strings, and have better tab completion. I know I could convert it to, e.g., a python script, but I was curious what was possible if we continued to use bash. I couldn't find anything that solved those problems without lots of extra machinery. I understand why, shell scripts are generally not long, and focused on a dedicated task; adding cli features to them is mostly unnecessary, many might even discourage it for many valid reasons. Nonetheless, I considered writing this functionality myself, but that felt like a poor use of company time. So I started toying with what a framework to handle those concerns entirely in shell script would look like on the side. Thus, shifu was born. I've been working on it off and on for about a year, and think I've got a reasonable alpha release, so thought I'd share.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Extensible framework to manage Microservices/Multirepos in pure shell
Shell Framework for CGI
How to compile C/C++ for WASM, pure Clang, no libs, no framework
Cutestrap Two. A Powerful 2.7KB Pure CSS Framework
'p' – a simple but powerful Pomodoro tracker in pure Shell
KeraSH, a ML Framework in Shell
Functional Shell Developed with LiveScript
curl-to-shell russian roulette
Shell Roulette
Yeash – Yet another abstraction for shell