Liking cljdoc? Tell your friends :D

boundary.cli.new


-mainclj

(-main args)
source

check-directoryclj

(check-directory dir force?)

Returns :ok, :empty-exists, :non-empty, or :not-a-dir. If force? is true, always :ok.

Returns :ok, :empty-exists, :non-empty, or :not-a-dir. If force? is true, always :ok.
sourceraw docstring

generate!clj

(generate! dir project-name _opts)

Generate project files into dir.

Generate project files into dir.
sourceraw docstring

git-bootstrap!clj

(git-bootstrap! dir)
(git-bootstrap! dir run)

Initialise a git repo in dir, point hooks at .githooks, and make an initial commit. Every step is non-fatal: on any failure, collect a warning and keep going. run is the git runner (injected for testing); defaults to run-git. Returns {:ok? bool :warnings [str]}.

The initial commit uses --no-verify so the freshly-written .githooks/pre-commit (bb check:fcis + lint) does NOT fire here — that hook needs the project's deps resolved, which would force a network/maven download and defeat the fast/offline boundary new. The gate is for subsequent human commits.

Initialise a git repo in dir, point hooks at .githooks, and make an initial
commit. Every step is non-fatal: on any failure, collect a warning and keep
going. `run` is the git runner (injected for testing); defaults to run-git.
Returns {:ok? bool :warnings [str]}.

The initial commit uses --no-verify so the freshly-written .githooks/pre-commit
(bb check:fcis + lint) does NOT fire here — that hook needs the project's deps
resolved, which would force a network/maven download and defeat the
fast/offline `boundary new`. The gate is for subsequent human commits.
sourceraw docstring

name->nsclj

(name->ns n)
source

validate-nameclj

(validate-name n)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close