The commands scan and translate that leanfran --lang clojure sync,
check and status run.
Both read a JSON object with root and config, the [embed.clojure] table
of leanfran.toml, on the standard input and print JSON. scan prints the
Lean blocks and the functions of the project without loading its namespaces,
and translate loads them and prints the models of the functions. They write
no file. Errors of the project with a position are printed as
<file>:<line>:<column>: error: ..., other errors as leanfran: ....
The commands `scan` and `translate` that `leanfran --lang clojure sync`, `check` and `status` run. Both read a JSON object with `root` and `config`, the `[embed.clojure]` table of `leanfran.toml`, on the standard input and print JSON. `scan` prints the Lean blocks and the functions of the project without loading its namespaces, and `translate` loads them and prints the models of the functions. They write no file. Errors of the project with a position are printed as `<file>:<line>:<column>: error: ...`, other errors as `leanfran: ...`.
(main [command & args])The exit code of the command line args.
The exit code of the command line `args`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |