scwrypts/zsh
yage 3fe01a7263 v4.4.0
=====================================================================

Increased non-scwrypts-runtime compatibility and improved clarity
in user environments after sourcing the scwrypts.plugin.zsh.

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

- added experimental support for --output json
- added 'scwrypts --list-groups' to output the SCWRYPTS_GROUPS value
- added 'scwrypts --config' to be `eval`-ed in non-scwrypts-runtime zsh

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

- removed config variables which pertained to old scwrypts

- removed deprecated --no-log

- cleaned up environment requirements and improved import saftey for
  scwrypts.plugin.zsh; scwrypts is now *required* on $PATH in order to work

- refactored group configuration to match external group configuration
  (configuration now in scwrypts.scwrypts.zsh rather than zsh/lib/config.group.zsh)

- plugins/kubectl now forces an unalias of `f` (for fluxcd) on load

- the 'use' command now supports the '-c' short flag for ease of quick
  use

- upgraded max supported python version to 3.12; dropped support for
  python 3.9 (>3.10 required)

- remove old references to SCWRYPTS_ROOT in favour of SCWRYPTS_ROOT__scwrypts

- SCWRYPTS_LOG_LEVEL setting is now forwarded when using the SCWRYPTS__RUN
  meta execution function
2024-05-08 23:11:09 -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.4.0 2024-05-08 23:11:09 -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