4 ms·
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:/
by d0mine 2y ago
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#addendum-the-fab-command-line-tool 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/ 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 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:
- tiraz 2y agoI am also a big fan of pyinvoke (and fabric). Unfortunately, both are not really maintained anymore (hundreds of issues each).
- d0mine 2y agoI see roadmap until Aug 2024 https://bitprophet.org/projects/#roadmap https://bitprophet.org/projects/#roadmap Though commits on both projects are several months old