function __scriptura_list --argument-names from for dir in $(path filter --type dir $from/*) printf "%-12s -- %-64s\n" "$(path basename $dir) ..." $(__scriptura_help $dir) end for file in $(path filter --type file --perm exec $from/*) printf "%-12s -- %-64s\n" $(path basename $file) $(__scriptura_help $file) end end