fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
2849cd11a
master
1set -l commands repl init reactor make install bump diff publish 2 3complete -c elm -f 4# repl completions 5complete -c elm -n"not __fish_seen_subcommand_from $commands " -a repl -d'Open up an interactive programming session' 6complete -c elm -n"__fish_seen_subcommand_from repl" -l no-colors -d'Turn off the colors in REPL' 7complete -c elm -n"__fish_seen_subcommand_from repl" -l interpreter -d'Path to an alternative JS interpreter' 8# reactor completions 9complete -c elm -n"not __fish_seen_subcommand_from $commands " -a reactor -d'Compile code with a click' 10complete -c elm -n"__fish_seen_subcommand_from reactor" -l port -d'Compile code with a click' 11# make completions 12complete -c elm -n"not __fish_seen_subcommand_from $commands " -a make -d'Compiles Elm code in JS or HTML' 13complete -c elm -n"__fish_seen_subcommand_from make" -l output -F -r -d'Specify the name of resulting JS file' 14complete -c elm -n"__fish_seen_subcommand_from make" -l debug -d'Turn on the time-travelling debugger' 15complete -c elm -n"__fish_seen_subcommand_from make" -l optimize -d'Turn on optimizations to make code smaller and faster' 16complete -c elm -n"__fish_seen_subcommand_from make" -l docs -d'Generate a JSON file of documentation for a package' 17#other commands completions 18complete -c elm -n"not __fish_seen_subcommand_from $commands " -a init -d'Start an Elm project' 19complete -c elm -n"not __fish_seen_subcommand_from $commands " -a install -d'Fetches packages from Elm repository' 20complete -c elm -n"not __fish_seen_subcommand_from $commands " -a bump -d'Figures out the next version number based on API changes' 21complete -c elm -n"not __fish_seen_subcommand_from $commands " -a diff -d'See what changed in a package between different versions' 22complete -c elm -n"not __fish_seen_subcommand_from $commands " -a publish -d'Publishes your package on package.elm-lang.org so anyone in the community can use it' 23 24complete -c elm -l help -d"Show a more detailed description"