Liking cljdoc? Tell your friends :D
Clojure only.

leiningen.run

Run a -main function with optional command-line arguments.

Run a -main function with optional command-line arguments.
raw docstring

runclj

(run project & raw-args)

Run the project's -main function.

USAGE: lein run [--] [ARGS...] Calls the -main function in the namespace specified as :main in project.clj. You may use -- to escape the first argument in case it begins with -' or:'. If your main function is not called "-main", you may use a namespaced symbol like clojure.main/main.

USAGE: lein run -m NAMESPACE[/MAIN_FUNCTION] [--] [ARGS...] Calls the main function in the specified namespace. You may have to use -- to escape the first argument in case it begins with -' or:'.

The `--quote-args' flag quotes the arguments passed in, instead of converting them to strings. Useful if you want to pass in :project/key entries that might be/contain lists.

See also "lein help trampoline" for a way to save memory using this task.

Run the project's -main function.

USAGE: lein run [--] [ARGS...]
Calls the -main function in the namespace specified as :main in project.clj.
You may use -- to escape the first argument in case it begins with `-' or `:'.
If your main function is not called "-main", you may use a namespaced symbol
like clojure.main/main.

USAGE: lein run -m NAMESPACE[/MAIN_FUNCTION] [--] [ARGS...]
Calls the main function in the specified namespace. You may have to use -- to
escape the first argument in case it begins with `-' or `:'.

The `--quote-args' flag quotes the arguments passed in, instead of converting
them to strings. Useful if you want to pass in :project/key entries that might
be/contain lists.

See also "lein help trampoline" for a way to save memory using this task.
sourceraw docstring

run-formclj

(run-form given args)

Construct a form to run the given main defn or class with arguments.

Construct a form to run the given main defn or class with arguments.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close