Liking cljdoc? Tell your friends :D

meme.cli

Unified CLI. Commands dispatch through lang maps.

This namespace is the app — it explicitly requires each built-in lang, which triggers its self-registration in meme.registry. The registry itself imports no langs; adding a new built-in means a one-line require here plus the lang's own register-builtin! call.

Unified CLI. Commands dispatch through lang maps.

This namespace is the app — it explicitly requires each built-in lang,
which triggers its self-registration in meme.registry.  The registry
itself imports no langs; adding a new built-in means a one-line
require here plus the lang's own register-builtin! call.
raw docstring

-mainclj

(-main & args)

CLI entry point. Parses args and dispatches to subcommands.

CLI entry point. Parses args and dispatches to subcommands.
sourceraw docstring

compile-memeclj

(compile-meme {:keys [file files out lang] :as opts})

Compile .meme files to .clj in a separate output directory. Preserves relative paths. Output can be added to :paths in deps.edn so that require, load-file, and nREPL all work without runtime patching.

Compile .meme files to .clj in a separate output directory.
Preserves relative paths. Output can be added to :paths in deps.edn
so that require, load-file, and nREPL all work without runtime patching.
sourceraw docstring

format-filesclj

(format-files opts)

Format meme source files in canonical style.

Reads .meme-format.edn from the working directory (walking up) if present; its settings are applied as defaults under CLI flags.

Format meme source files in canonical style.

Reads `.meme-format.edn` from the working directory (walking up) if
present; its settings are applied as defaults under CLI flags.
sourceraw docstring

helpclj

(help _)

Print CLI usage help.

Print CLI usage help.
sourceraw docstring

inspect-langclj

(inspect-lang {:keys [lang]})

Print diagnostic info about the current lang configuration.

Print diagnostic info about the current lang configuration.
sourceraw docstring

replclj

(repl {:keys [lang] :as opts})

Start an interactive meme REPL.

Start an interactive meme REPL.
sourceraw docstring

runclj

(run {:keys [file lang rest-args] :as opts})

Run a meme source file. Requires :file in opts. Binds command-line-args to the user's args (excluding the command verb and filename). The lang's :run installs the loader by default.

Run a meme source file. Requires :file in opts.
Binds *command-line-args* to the user's args (excluding the command verb and filename).
The lang's :run installs the loader by default.
sourceraw docstring

to-cljclj

(to-clj opts)

Convert meme files to Clojure and print to stdout or write to .clj files.

Convert meme files to Clojure and print to stdout or write to .clj files.
sourceraw docstring

to-memeclj

(to-meme opts)

Convert Clojure files to meme and print to stdout or write to .meme files.

Convert Clojure files to meme and print to stdout or write to .meme files.
sourceraw docstring

versionclj

(version _)

Print the meme version.

Print the meme version.
sourceraw docstring

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