13 lines
343 B
Bash
13 lines
343 B
Bash
#!/bin/bash
|
|
# Shared logging helpers — source this in every module
|
|
|
|
GREEN="\e[32m"
|
|
YELLOW="\e[33m"
|
|
RED="\e[31m"
|
|
RESET="\e[0m"
|
|
|
|
log() { printf "${GREEN}[+] %s${RESET}\n" "$*"; }
|
|
skip() { printf "${YELLOW}[~] %s${RESET}\n" "$*"; }
|
|
warn() { printf "${YELLOW}[!] %s${RESET}\n" "$*" >&2; }
|
|
err() { printf "${RED}[✖] %s${RESET}\n" "$*" >&2; }
|