REPL setup and script reloading.
We are holding state here. Read the source.
REPL setup and script reloading. We are holding state here. Read the source.
(!!)
Re-loads all input scripts, just alias for (load-scripts!).
Re-loads all input scripts, just alias for (load-scripts!).
(!?)
Re-loads only inputs scripts from last failure.
Re-loads only inputs scripts from last failure.
(-main & args)
Entry point for standalone operation.
Note: this is not a var, this is a java method!
Entry point for standalone operation. Note: this is not a var, this is a java method!
(?!)
Re-loads only inputs scripts from last failure. Calls (!?).
Re-loads only inputs scripts from last failure. Calls (!?).
(exit)
(exit code)
Exit VM. Shuts down agents too.
Exit VM. Shuts down agents too.
(fails)
Get list of files that had errors in previous execution.
Get list of files that had errors in previous execution.
(get-log-level!)
(get-log-level! logger)
Return Level of requested logger String.
Return Level of requested logger String.
(get-version dep)
Try to extract artifact version from META-INF.
Try to extract artifact version from META-INF.
(load-script! a-file)
Load single script. True if success, false if Exception.
Load single script. True if success, false if Exception.
(load-scripts!)
(load-scripts! args)
Execute args (default to @scripts), keep exceptions in @script-errors.
Execute args (default to @scripts), keep exceptions in @script-errors.
(nrepl-cycle!)
(nrepl-cycle! args)
Create nREPL instance. See nrepl-start! for args.
Create nREPL instance. See nrepl-start! for args.
(nrepl-display!)
Display nREPL BIND and PORT as nrepl://BIND:PORT through log/info.
Display nREPL BIND and PORT as nrepl://BIND:PORT through log/info.
Singleton (dirty word!) holding the nREPL server.
Singleton (dirty word!) holding the nREPL server.
(nrepl-start!)
(nrepl-start! {:keys [bind port] :as args})
Try to init the server.
Try to init the server.
(nuke-ns!)
(nuke-ns! skip-set)
Very unkindly unmap everything from current namespace.
Very unkindly unmap everything from current namespace.
(oops x)
Throwable helper, borrowed from Stuart Halloways Repl Driven Development.
Throwable helper, borrowed from Stuart Halloways Repl Driven Development.
(push-scripts! args)
Get ARGS sequence and append them to scripts
.
Get ARGS sequence and append them to `scripts`.
(raze-scripts!)
Remove all SCRIPTS and SCRIPT-ERRORS.
Remove all SCRIPTS and SCRIPT-ERRORS.
Map of script path to Exception faced during load.
Map of script path to Exception faced during load.
Program arguments to evaluate before the REPL starts.
Program arguments to evaluate before the REPL starts.
(set-log-level! level)
(set-log-level! logger level)
Set log level for String logger, returns Level set.
Accepted levels: :all, :trace, :debug, :info, :warn, :error, :off
Hint: logback doesn't do :fatal, so we won't either. Default logger is ROOT.
Also does number and String levels, using Level/toLevel heuristics.
Set log level for String logger, returns Level set. Accepted levels: :all, :trace, :debug, :info, :warn, :error, :off Hint: logback doesn't do :fatal, so we won't either. Default logger is ROOT. Also does number and String levels, using Level/toLevel heuristics.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close