Janet 1.38.0-73334f3 Documentation
(Other Versions:
1.37.1
1.36.0
1.35.0
1.34.0
1.31.0
1.29.1
1.28.0
1.27.0
1.26.0
1.25.1
1.24.0
1.23.0
1.22.0
1.21.0
1.20.0
1.19.0
1.18.1
1.17.1
1.16.1
1.15.0
1.13.1
1.12.2
1.11.1
1.10.1
1.9.1
1.8.1
1.7.0
1.6.0
1.5.1
1.5.0
1.4.0
1.3.1
)
Config
Index
config/builtin-configs config/config-checkers config/config-docs config/config-options config/config-parsers config/config-set config/defconf config/dyn:ar config/dyn:auto-shebang config/dyn:binpath config/dyn:build-type config/dyn:buildpath config/dyn:c++ config/dyn:c++-link config/dyn:cc config/dyn:cc-link config/dyn:cflags config/dyn:cflags-verbose config/dyn:config-file config/dyn:cppflags config/dyn:curlpath config/dyn:dest-dir config/dyn:dynamic-cflags config/dyn:dynamic-lflags config/dyn:gitpath config/dyn:headerpath config/dyn:is-msvc config/dyn:janet config/dyn:janet-cflags config/dyn:janet-importlib config/dyn:janet-lflags config/dyn:ldflags config/dyn:lflags config/dyn:libpath config/dyn:local config/dyn:manpath config/dyn:modext config/dyn:modpath config/dyn:nocolor config/dyn:offline config/dyn:optimize config/dyn:pkglist config/dyn:silent config/dyn:statext config/dyn:tarpath config/dyn:test config/dyn:tree config/dyn:update-pkgs config/dyn:use-batch-shell config/dyn:verbose config/dyn:workers config/load-config config/load-config-file config/load-default config/load-options config/opt config/read-env-variables config/save-config config/shorthand-mapping
Table of all built-in options, as opposed to project deifned options.
A table of all of the dynamic config bindings to checkers (validators).
(defconf kw &opt parser docs options)
Define a function that wraps (dyn :keyword). This will allow use of dynamic bindings with static runtime checks.
(load-config settings &opt override)
Load a configuration from a table or struct.
(load-config-file path &opt override)
Load a configuration from a file. If override is set, will override already set values. Otherwise will prefer the current value over the settings from the config file.
(load-options &opt path)
Load a file that contains config options that can be set. If no such file exists, then do nothing.
(opt opts key &opt dflt)
Get an option, allowing overrides via dynamic bindings AND some default value dflt if no dynamic binding is set.
(read-env-variables)
Read environment variables that correspond to config variables into dyns.
(save-config path)
Write the current configuration information to a file.