News for hackers. Stuff that matters.
Re:Create an internal CLI using Just by d0mine on Saturday August 24, 2024 @10:38AM (#41338649)
To discourage bash outside shell one-liners (where it is appropriate), fabric/invoke could be used. Bash/ssh commands are glued together using Python:

https://docs.fabfile.org/en/latest/getting-started.html#adde...

If you are Python dev, you could specify Python dependencies for script using pep 723 https://iscinumpy.dev/post/pep723/ (nix might be an overkill).

For notebooks, workflows, personal playbooks, notes Org Babel could be used (emacs) Here's example code blocks in Haskell (but many other languages can be used such as shell, jupyter, plantuml) https://youtu.be/1qOFYluebBg?si=muGfsaC1kI7Cgpyw

One of my favorite features are subtree specific settings that enable remote shell commands by configuring :dir to /ssh:host:

Re:Create an internal CLI using Just by tiraz on Saturday August 24, 2024 @12:26PM (#41339332)
I am also a big fan of pyinvoke (and fabric). Unfortunately, both are not really maintained anymore (hundreds of issues each).
Re:Create an internal CLI using Just by d0mine on Saturday August 24, 2024 @01:39PM (#41339864)
I see roadmap until Aug 2024 https://bitprophet.org/projects/#roadmap

Though commits on both projects are several months old