function __scriptura_subcommands --description 'List available subcommands'
set --local from $SCRIPTURA_ROOT
for arg in $argv
if path is --type dir $from/$arg
set --function from $from/$arg
end
end
path basename $(path filter --type file,dir --perm exec $from/*)
end
|