Installation
Requirements
bash 4.0 or greater
Usage
Info: Hello, world.
Example
Host: Kirts-MacBook-Pro-2019.local
Command: ./demo.sh
Working Dir: /Users/kirt/Dropbox/Development/Bidpath/chap-demo
Info: Verify correct file count.
Nominal: 4 files found.
find . -type f -or -type l
./demo.sh
./deps/bin/chap -> ../chap/chap.sh
./deps/chap/chap.sh
./deps/chap/package.json
Info: FYI.
Nominal: As expected.
Attention: Hey old chap, pay attention.
Warning: Something’s wrong.
Modification: We’re making a change.
Info: Implementation of brief_eval.
grep -A 5 ‘brief_eval {‘ deps/bin/chap
function chap_brief_eval {
CMD=$1
OUTPUT=$(eval “${CMD}”)
chap_brief_echo “${OUTPUT}”
}
Info: Prompt to confirm or skip.
find . -name ‘*.sh’
Execute (a=all, s=skip):
Initiated at: 15:22:37
./demo.sh
./deps/chap/chap.sh
Completed at: 15:22:37
Links