Liking cljdoc? Tell your friends :D

clj-new.helpers

The top-level logic for the clj-new create/generate entry points.

The top-level logic for the clj-new create/generate entry points.
raw docstring

*debug*clj

source

*template-version*clj

source

*use-snapshots?*clj

source

createclj

(create {:keys [args force name snapshot template template-version to-dir
                verbose]
         :or {template "default"}})

Exposed to clj-new command-line with simpler signature.

Exposed to clj-new command-line with simpler signature.
sourceraw docstring

create*clj

(create* template-name project-name args)

Given a template name, a project name and list of template arguments, perform sanity checking on the project name and, if it's sane, then generate the project from the template.

Given a template name, a project name and list of template arguments,
perform sanity checking on the project name and, if it's sane, then
generate the project from the template.
sourceraw docstring

generate-codeclj

(generate-code {:keys [args force generate prefix template] :or {prefix "src"}})

Exposed to clj new task with simpler signature.

Exposed to clj new task with simpler signature.
sourceraw docstring

generate-code*clj

(generate-code* template-name prefix generations args)

Given an optional template name, an optional path prefix, a list of things to generate (type, type=name), and an optional set of arguments for the generator, resolve the template (if provided), and then resolve and apply each specified generator.

Given an optional template name, an optional path prefix, a list of
things to generate (type, type=name), and an optional set of arguments
for the generator, resolve the template (if provided), and then resolve
and apply each specified generator.
sourceraw docstring

resolve-and-loadclj

(resolve-and-load deps resolve-args)

Given a deps map and an extra-deps map, resolve the dependencies, figure out the classpath, and load everything into our (now dynamic) classloader.

Given a deps map and an extra-deps map, resolve the dependencies, figure
out the classpath, and load everything into our (now dynamic) classloader.
sourceraw docstring

resolve-remote-templateclj

(resolve-remote-template template-name)

Given a template name, attempt to resolve it as a clj template first, then as a Boot template, then as a Leiningen template. Return the type of template we found and the final, derived template-name.

Given a template name, attempt to resolve it as a clj template first, then
as a Boot template, then as a Leiningen template. Return the type of template
we found and the final, derived template-name.
sourceraw docstring

resolve-templateclj

(resolve-template template-name)

Given a template name, resolve it to a symbol (or exit if not possible).

Given a template name, resolve it to a symbol (or exit if not possible).
sourceraw docstring

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

× close