This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
workflow=$1 | |
limit=$2 | |
if [[ -z "$workflow" ]] | |
then | |
echo "Usage: $0 <workflow> [<limit>]" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
col_success="$(tput setaf 10)" | |
col_failure="$(tput setaf 9)" | |
col_normal="$(tput sgr0)" | |
col_fade="$(tput setaf 15)" | |
function _prompt_() { | |
local code="$?" | |
if [ "$code" -ne 0 ]; | |
then |