Files
caelestia-cli/util.fish
T
2 * r + 2 * t 7205226e5f Initial commit
2025-01-17 16:18:16 +11:00

21 lines
438 B
Fish

function log -a text
set_color cyan
# Pass arguments other than text to echo
echo $argv[2..] -- ":: $text"
set_color normal
end
function warn -a text
set_color yellow
# Pass arguments other than text to echo
echo $argv[2..] -- ":: $text"
set_color normal
end
function error -a text
set_color red
# Pass arguments other than text to echo
echo $argv[2..] -- ":: $text"
set_color normal
end