Development and test support.
Development and test support.
(config-files)
(config-files config-filenames)
Set config files to specified argument (unless environment variable APP_CONFIG is set):
Value | Effect |
---|---|
collection | set config files as override |
string | set config files as override |
nil | clear config file override |
Set config files to specified argument (unless environment variable APP_CONFIG is set): | Value | Effect | |----------|------------------------------| |collection| set config files as override | |string | set config files as override | |`nil` | clear config file override |
(context-file)
(context-file context-filename)
Set context file to specified argument (unless environment variable APP_CONTEXT is set):
Value | Effect |
---|---|
string | set context file as override |
nil | clear context file override |
Set context file to specified argument (unless environment variable APP_CONTEXT is set): | Value | Effect | |-------|------------------------------| |string | set context file as override | |`nil` | clear context file override |
(deinit)
De-initialize application. Throw error if app-context
is not initialized.
De-initialize application. Throw error if [[app-context]] is not initialized.
(ensure-init)
Ensure that app-context
is initialized.
Ensure that [[app-context]] is initialized.
(init-once!)
(init-once! a-var)
Given a var e.g. (defonce a-var nil) having logical false value, set it to true
and initialize app in DEV mode.
Given a var e.g. (defonce a-var nil) having logical false value, set it to `true` and initialize app in DEV mode.
(initial-context)
Resolve and return the initial context to trigger the application in DEV mode.
Resolve and return the initial context to trigger the application in DEV mode.
(record-context! context)
Rebind var app-context
to the given context.
Rebind var [[app-context]] to the given context.
(start)
Launch application. Throw error if app-context
` is not initialized.
Launch application. Throw error if [[app-context]]` is not initialized.
(verbose)
(verbose status?)
Set verbose mode to specified status (unless environment variable APP_VERBOSE is set):
Value | Effect |
---|---|
true | enable verbose mode |
false | disable verbose mode |
nil | clear verbose mode override |
Set verbose mode to specified status (unless environment variable APP_VERBOSE is set): | Value | Effect | |-------|-----------------------------| |`true` | enable verbose mode | |`false`| disable verbose mode | |`nil` | clear verbose mode override |
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close