fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerMerge branch 'completions-to-use-expanded-tokens'a9618477e

master
3.2 KiB35 linesraw
1function __fish_lein_needs_command
2    set -l cmd (commandline -xpc)
3    if test (count $cmd) -eq 1
4        return 0
5    end
6    return 1
7end
8
9complete -f -c lein -n __fish_lein_needs_command -a check -d "Check syntax and warn on reflection."
10complete -f -c lein -n __fish_lein_needs_command -a classpath -d "Write the classpath of the current project to output-file."
11complete -f -c lein -n __fish_lein_needs_command -a clean -d "Remove all files from project's target-path."
12complete -f -c lein -n __fish_lein_needs_command -a compile -d "Compile Clojure source into .class files."
13complete -f -c lein -n __fish_lein_needs_command -a deploy -d "Build jar and deploy to remote repository."
14complete -f -c lein -n __fish_lein_needs_command -a deps -d "Show details about dependencies."
15complete -f -c lein -n __fish_lein_needs_command -a do -d "Higher-order task to perform other tasks in succession."
16complete -f -c lein -n __fish_lein_needs_command -a help -d "Display a list of tasks or help for a given task or subtask."
17complete -f -c lein -n __fish_lein_needs_command -a install -d "Install current project to the local repository."
18complete -f -c lein -n __fish_lein_needs_command -a jar -d "Package up all the project's files into a jar file."
19complete -f -c lein -n __fish_lein_needs_command -a javac -d "Compile Java source files."
20complete -f -c lein -n __fish_lein_needs_command -a light -d "Start a Light Table client for this project"
21complete -f -c lein -n __fish_lein_needs_command -a new -d "Generate scaffolding for a new project based on a template."
22complete -f -c lein -n __fish_lein_needs_command -a plugin -d "DEPRECATED. Please use the :user profile instead."
23complete -f -c lein -n __fish_lein_needs_command -a pom -d "Write a pom.xml file to disk for Maven interoperability."
24complete -f -c lein -n __fish_lein_needs_command -a repl -d "Start a repl session either with the current project or standalone."
25complete -f -c lein -n __fish_lein_needs_command -a retest -d "Run only the test namespaces which failed last time around."
26complete -f -c lein -n __fish_lein_needs_command -a run -d "Run the project's -main function."
27complete -f -c lein -n __fish_lein_needs_command -a search -d "Search remote maven repositories for matching jars."
28complete -f -c lein -n __fish_lein_needs_command -a show-profiles -d "List all available profiles or display one if given an argument."
29complete -f -c lein -n __fish_lein_needs_command -a test -d "Run the project's tests."
30complete -f -c lein -n __fish_lein_needs_command -a trampoline -d "Run a task without nesting the project's JVM inside Leiningen's."
31complete -f -c lein -n __fish_lein_needs_command -a uberjar -d "Package up the project files and all dependencies into a jar file."
32complete -f -c lein -n __fish_lein_needs_command -a update-in -d "Perform arbitrary transformations on your project map."
33complete -f -c lein -n __fish_lein_needs_command -a upgrade -d "Upgrade Leiningen to specified version or latest stable."
34complete -f -c lein -n __fish_lein_needs_command -a version -d "Print version for Leiningen and the current JVM."
35complete -f -c lein -n __fish_lein_needs_command -a with-profile -d "Apply the given task with the profile(s) specified."