-o/--output flag (GitHub #2)lein-skeptic/src/leiningen/skeptic.clj:
-o/--output OUTPUT_FILE entry to cli-options.eval-in-project body: when (:output opts) is non-nil, a clojure.java.io/writer wraps *out* around the skeptic.profiling/run call, with try/finally flushing and closing before System/exit.(require 'clojure.java.io) to init forms.skeptic defn: 19 lines.lein test in skeptic/: 305 tests, 1610 assertions, 0 failures / 0 errors.clj-kondo --lint lein-skeptic/src: 0 errors, 0 warnings.210c7a4 on main.lein install done for skeptic lib + plugin.README.md: new -o/--output OUTPUT_FILE bullet in the "Running it" Options list; sentence appended in the JSONL "Combining with --profile" subsection explaining that with -o, JSONL still routes to the file and profile still routes to stderr.CHANGELOG.md: entry under [Unreleased] → Added referencing GitHub #2.| Invocation | File content | stdout | stderr | exit |
|---|---|---|---|---|
-o FILE | "No inconsistencies found" | empty of skeptic output | — | 0 |
-p -o FILE | pure JSONL, final line run-summary | empty | — | 0 |
--profile -o FILE | findings + profile summary | empty | — | 0 |
-p --profile -o FILE | pure JSONL (0 non-json lines) | empty | profile summary | 0 |
(no -o) | — | "No inconsistencies found" | — | 0 |
Can you improve this documentation?Edit on GitHub
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 |