·
8 commits
to master
since this release
v1.1.0 - Major Enhancements to Script Quality
What's New:
- Introducing a streamlined web installation script that enables you to install and upgrade
e-bash
scripts in your repository with just one command.
# Install the latest version effortlessly
curl -sSL https://raw.githubusercontent.com/OleksandrKucherenko/e-bash/master/bin/install.e-bash.sh | bash -s -- install
# rerun to update to the newest version
curl -sSL https://raw.githubusercontent.com/OleksandrKucherenko/e-bash/master/bin/install.e-bash.sh | bash -s --
- Numerous minor fixes have been implemented, making the scripts more reliable and user-friendly.
Dive into our upgradeddemos
; you'll find impressive examples to inspire you to use the library effectively in your scripts. - The most significant changes are in two scripts: arguments and logs.
Logs additions:
- log redirects to a file, to a named pipe, to another stream, to another terminal, or all together;
- log prefixes, now you can make it look like professional logs;
- enable/disable log tags/categories via simple DEBUG environment variable;
- log work in piped commands now. Logging was never easier before!
- got a new global variables for styling your outputs: BOLD, ITALIC, and UNDERLINE;
- a big step forward in parsing input arguments to your script; Easy to define and makes your scripts much shorter;
- added support of documentation composing, initial steps only, but already a great visual improvement to your scripts;
- more details
New Scripts: Semver
- The implementation of the SEMVER standard is fully supported.
- You can parse and re-compose version in SEMVER standard, in addition to comparing versions;
- Any logic related to comparing versions is now easy to use in BASH;
Self Updates:
- composed initial version of self-updating based on SEMVER comparison and git magic.
Improved local developer environment, thanks to the magic of: git hooks, direnv and bash scripting;
Experience the improvements with this new release!
P.S. Many thanks to AI technology for assisting me in overcoming various challenges during testing and developing.