scwrypts/zsh
yage d1a17e4285 v4.3.0
=====================================================================

--- Changes ------------------------------

- updated python scwrypts API to use latest pattern established in the
  nodejs library

- SCWRYPTS_ROOT__scwrypts is now supports loading with each run and
  detects managed installations vs manual installations; this now means
  SCWRYPTS_ROOT can no longer be injected to scwrypts (this was a v2
  legacy support thing and probably does not apply to you)

--- New Features -------------------------

- pypi/scwrypts )
     added 'get_generator' API to testing utilities to provide a nice
     way to include default generator options

--- Bug Fixes ----------------------------

- scwrypts groups which use a required environment name regex no longer
  load specialized static files outside of the required environments.
2024-04-16 08:52:47 -06:00
..
cloud v4.0.0 2024-02-20 23:51:32 -07:00
db/postgres v4.0.0 2024-02-20 23:51:32 -07:00
docker v4.0.0 2024-02-20 23:51:32 -07:00
helm v4.0.0 2024-02-20 23:51:32 -07:00
lib v4.3.0 2024-04-16 08:52:47 -06:00
media/youtube v4.0.0 2024-02-20 23:51:32 -07:00
misc v4.0.0 2024-02-20 23:51:32 -07:00
office v4.0.0 2024-02-20 23:51:32 -07:00
redis v4.0.0 2024-02-20 23:51:32 -07:00
scwrypts v4.0.0 2024-02-20 23:51:32 -07:00
system v4.0.0 2024-02-20 23:51:32 -07:00
hello-world v4.0.0 2024-02-20 23:51:32 -07:00
README.md v2.0.0 2022-07-01 22:17:15 -06:00
sanity-check v4.0.0 2024-02-20 23:51:32 -07:00

ZSH Scwrypts

Generic Badge Generic Badge Generic Badge Generic Badge Generic Badge Generic Badge

Since they emulate direct user interaction, shell scripts are often the straightforward choice for task automation.

Basic Utilities

One of my biggest pet-peeves with scripting is when every line of a (insert-language-here) program is escaped to shell. This kind of program, which doesn't use language features, should be a shell script. While there are definitely unavoidable limitations to shell scripting, we can minimize a variety of problems with a modern shell and shared utilities library.

Loaded by common.zsh, the utils/ library provides:

  • common function wrappers to unify flags and context
  • lazy dependency and environment variable validation
  • consistent (and pretty) user input / output