- Improved ISSUE_TEMPLATE - Added pylintrc - Fixed contributing rules - Fixed doc of myt module - Added `--version` flag - Split some functionality up in other scripts - Added `doc.sh` for documentation generation - Fixed some bugs in tox.ini - Made git.sh to more permissive Signed-off-by: Ari Archer <ari@mail.ari-web.xyz>
13 lines
249 B
Bash
13 lines
249 B
Bash
([ ! "$NO_COLOUR" ] && command -v tput >/dev/null) || tput() { printf ''; }
|
|
|
|
GREEN=$(tput setaf 2)
|
|
YELLOW=$(tput setaf 3)
|
|
RESET=$(tput sgr0)
|
|
|
|
log() {
|
|
printf "${GREEN}**${RESET} %s\n" "$1"
|
|
}
|
|
|
|
warn() {
|
|
printf "${YELLOW}**${RESET} %s\n" "$1"
|
|
}
|