Skip to content

Commit

Permalink
docs(lib): document global vars
Browse files Browse the repository at this point in the history
  • Loading branch information
tcodes0 committed Sep 11, 2024
1 parent d0520bd commit a7250e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ debug() {
}

# Description: Log a message with ERROR level and line number
# Globals : T0_COLOR (env) colored output if "true"
# Args : Any
# STDERR : ERROR (pizza.sh:34) message + \n
# Example : err $LINENO oven temperature too high
Expand All @@ -111,6 +112,7 @@ err() {
}

# Description: Calls err with args, then exits with status 1
# Globals : T0_COLOR (env) colored output if "true"
# Args : Any
# STDERR : FATAL (pizza.sh:34) message + \n
# Example : fatal $LINENO we've run out of cheese
Expand Down

0 comments on commit a7250e0

Please sign in to comment.