mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-21 02:51:50 +03:00
12 lines
333 B
Fish
12 lines
333 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 |