vlisivka/bash-modules
View on GitHub ↗ ★ 153 Shell
Useful modules for bash
14 mentions on Hacker News by 4 people: 1 story, 13 comments · first 2015-10-27 · latest 2024-09-14
20082026
-
You may like bash-modules then: https://github.com/vlisivka/bash-modules/tree/master/bash-mo...
comment by oneshtein · 2024-09-14 · in Techniques I use to create a great user experience for shell scripts -
Bash is turing-complete, so it's possible to write automated test cases in bash. Example: https://github.com/vlisivka/bash-modules/blob/master/bash-mo...
comment by oneshtein · 2023-03-11 · in Write Posix Shell -
Template in article is awful. It's better to use this one, which is a real CLI tool: https://github.com/vlisivka/bash-modules/blob/master/bash-mo...
comment by drran · 2022-10-27 · in Shell script best practices, from a decade of scripting things -
…I'm keeping one `TODO.md` file per project instead of one large TODO file for all todo's. [0]: https://github.com/vlisivka/bash-modules/blob/master/bash-mo...
comment by drran · 2022-04-02 · in Show HN: A plain-text file format for todos and check lists -
…6. Refactor code, following best practices. [0]: http://vlisivka.github.io/bash-modules/ [1]: https://github.com/vlisivka/bash-modules
comment by drran · 2022-02-13 · in Easily handle CLI operation via Python instead of regular Bash programs -
See my `td` variant for console here: https://github.com/vlisivka/bash-modules/blob/master/bash-mo... They are easy to make.
comment by drran · 2021-08-02 · in Todo apps are meant for robots -
…I'm a non-native English speaker, so I need someone to help fix spelling mistakes, at least. [0]: https://github.com/vlisivka/bash-modules
comment by drran · 2021-07-04 · in Bash function names can be almost anything -
…lead of devops team. I created the whole library for bash, to use this pattern consistently. See https://github.com/vlisivka/bash-modules#error-handling
comment by drran · 2021-07-01 · in REPL vs CLI: IDE wars -
…functions for strict mode, called bash-modules. Can you look at it and provide some feedback? See https://github.com/vlisivka/bash-modules .
comment by v_lisivka · 2018-01-14 · in How “Exit Traps” Can Make Bash Scripts More Robust and Reliable -
…prefer sh over bash so much, you can help me to make it compatible with sh, or just fork it. See https://github.com/vlisivka/bash-modules
comment by v_lisivka · 2018-01-07 · in Things I Wish I'd Known About Bash -
I wrote library for shell scripts with design goal to work properly in strict mode: https://github.com/vlisivka/bash-modules
comment by lisivka · 2016-03-18 · in Use the Unofficial Bash Strict Mode (Unless You Love Debugging) -
Why BATS? Why not something *unit-like? Example: https://github.com/vlisivka/bash-modules/blob/master/main/ba... .
comment by lisivka · 2015-12-15 · in Defensive BASH programming -
…that you need to solve same problems again and again. This is why I wrote "bash-modules" script ( https://github.com/vlisivka/bash-modules ), which allows to write module with common code and then just do ". import.sh module" from script…
comment by lisivka · 2015-10-27 · in Let's Write Some Bad Ruby