tide/functions/tide.fish
2020-05-20 10:39:44 -07:00

12 lines
334 B
Fish

function tide -a subcommand
set -l tideSubcommand "tide_$subcommand"
set -l tideCommands 'configure' 'uninstall' 'help'
if contains $subcommand $tideCommands
source "$_tide_dir/functions/$subcommand.fish"
$tideSubcommand $argv[2..-1]
else
tide help
end
functions -e $tideSubcommand
end