yage
eaefc99774
===================================================================== Subscwrypts + Environment Inheritance --- Release Notes ------------------------ - added support for environment inheritance - added support for arbitrarily nested scripts (subscwrypts) - added support for CI mode - improved modularity of zsh/utils module - refactored to move some data from ~/.config/scwrypts to ~/.local/share/scwrypts - refactored various scripts to use new subscwrypt api --- New Scripts -------------------------- zsh ) - db/interactive/postgres - aws/rds/interactive-login
11 lines
248 B
Bash
11 lines
248 B
Bash
__CREDITS() {
|
|
# scwrypts exclusive ("credits" pulled from README files)
|
|
[ ! $SCWRYPTS_ROOT ] && return 0
|
|
|
|
local COMMAND="$1"
|
|
cd $SCWRYPTS_ROOT
|
|
cat ./**/README.md \
|
|
| grep 'Generic Badge' \
|
|
| sed -n "s/.*Generic Badge.*-$COMMAND-.*(/(/p"
|
|
}
|