defkey that looks up config, followed by context:bract.core/ctx-config-key-xf {:default identity}
(start :qa) that looks up env from context
add-shutdown-hook times out"bract.core.exports" (in favor of using variable instead)export-as-syspropsunexport-syspropsrun-context-inducers in favor of dynamic/late variable substitutionrun-config-inducers in favor of dynamic/late variable substitutionbract.core.inducer/abort (moved from gossamer.core.inducer/abort)0.8.1 (for remote and cached config stores)bract.core.dev/initial-context to resolve DEV mode initial contextbract.core.dev-init safe for loading (e.g. by cljdoc)bract.core.util/err-print-banner for printing banner messages to *err*0.7.6
:source option in key definitions0.7.4
keypin.util/str->fn"bract.core.launcher" to context :bract.core/launchers
bract-context.ednconfig-inducers to []str->var to any->fnbract.core.keydef/induce-exitbract.core.inducer/fallback-config-filesinvoke-launcher to invoke-launchersprepare-launcherrun-context-inducers and run-config-inducersbract.core.main namespace for CLI entry point
bract.core.main root inducersbract.core.dev/default-root-context to bract.core.dev/root-contextbract.core.dev/context-file to reveal or override the context filebract.core.dev/config
bract.core.dev/config-filesbract.core.dev/seed-context to potentially override the root-contextlet-var utility macro:bract.core/app-exit-code - app exit code (int, >= 0), default nilbract.core.dev-init to easily initialize test namespacesdiscover-hostname - discover hostname and populate configdiscover-project-edn-version - discover project version and populate configfallback-config-files - specify config filenames when unspecifiedprepare-launcher - specify alternate launcher on-the-fly0.7.2
parent.filenames to both context and config files:bract.core/health-check to represent health check functions:bract.core/alive-tstamp to represent last alive timestamp recorder/reporter:bract.core/shutdown-flag to :bract.core/*shutdown-flag:bract.core/shutdown-hooks to be a vector of hooked threadsbract.core.dev functions (for REPL usability)
deinit, start, stopapp-context after deinitinvoke-launcher echo the launcher nameinvoke-deinit empty the deinit vector before returning contextbract.core.util/uuid-str in favour of bract.core.util/clean-uuidbract.core.util.runtime/sysinfo to report system infobract.core.keydef/ctx-shutdown-flag :bract.core/shutdown-flag volatile instead of atombract.core.inducer/config-hookbract-context.dev.edn in dev mode when availablepst-when-uncaught-handler for printing stack trace0.7.1
bract.core.config namespace to bract.core.keydefread-context inducer to read/merge-into context from a file
:bract.core/context-file to optionally specify a file to merge context fromdeinit to invoke-deinit for consistency with other inducers(fn []) passed around with contextadd-shutdown-hook inducer to handle application termination signalset-default-exception-handler inducer to handle uncaught exceptions in threadsuuid-str utility function - unique ID for various purposesinvoke-stopper inducer to stop a running application:bract.core/exit? truebract.core.type/IFunction protocolbract.core.config namespace
bract.core.config/apply-inducerbract.core.config/apply-inducer-by-namebract.core.util namespace
bract.core.util/apply-inducerbract.core.util/inducebract.core.inducer namespace to apply inducers
bract.core.inducer/apply-inducer for functions (for direct internal calls to induce)bract.core.inducer/induce for applying a collection of inducerscontext-hook and config-hook
bract.core.inducer/context-hook no more supports arity-1, accepts function as second argumentbract.core.inducer/config-hook no more supports arity-1, accepts function as second argumentconfig.dev.edn with config/config.dev.ednbract.core.inducer/run-inducers to run-config-inducers
bract.core.inducersrun-config-inducers to run inducers specified by a config lookup keybract.core.inducer/run-context-inducers to run inducers from context
:bract.core/inducersrun-context-inducers to run inducers specified by a context lookup keybract.core.dev/verbose to get/set verbosity levelbract.core.dev/config to get/set config file override(config) and (verbose) return current settingconfig and verbose warn when environment variable will prevent any overridebract.cli
bract.core.cli namespacebract.core.main namespaceAPP_VERBOSE or system property app.verbosectx-verbose?, ctx-config-files, ctx-cli-args in bract.core.config namespacebract.core.config/apply-inducerbract.core.config/resolve-config-filenamesbract.core.config/run-app"parent.config.filenames" when reading configbract.core.inducer)
set-verbosityread-configrun-inducers0.6.0Can 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 |