refactor: separated command script
Some checks failed
railiance-tests / smoke (push) Has been cancelled
Some checks failed
railiance-tests / smoke (push) Has been cancelled
This commit is contained in:
8
lib/railiance-print.sh
Normal file
8
lib/railiance-print.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# tools/lib/railiance-print.sh — shared pretty printers
|
||||
set -euo pipefail
|
||||
|
||||
print_hdr() { printf "\n%s\n" "$1"; printf "%0.s-" $(seq 1 "${#1}"); echo; }
|
||||
ok() { printf " ✅ %-10s %s\n" "$1" "$2"; }
|
||||
warn() { printf " ⚠️ %-10s %s\n" "$1" "$2"; }
|
||||
bad() { printf " ❌ %-10s %s\n" "$1" "$2"; }
|
||||
Reference in New Issue
Block a user