2 ms·
I really like the potential this has to add more compelling output to simple shell scripts: #!/bin/bash rich "Starting process" --rule --rule-style "re
by simonw 5y ago
I really like the potential this has to add more compelling output to simple shell scripts:
#!/bin/bash
rich "Starting process" --rule --rule-style "red"
# ... do some stuff
rich "Process [b]complete[/b]" -p -c --padding 1 --style "on blue"
- baggiponte 5y agoI have been looking for something like this for a long time T.T
- tinalumfoil 5y agoCouldn't you do something like this instead? echo "$(tput setaf 1)Starting process$(tput sgr0)" echo " $(tput setaf 2)Process $(tput bold)complete$(tput sgr0)"