mirror of
https://github.com/caelestia-dots/cli.git
synced 2026-06-05 14:59:29 -05:00
21 lines
438 B
Fish
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
|