Liking cljdoc? Tell your friends :D

common.config


get-configclj

(get-config & ks)

获取ks指定的配置, 可以指定多个key,获取嵌套的配置

获取ks指定的配置, 可以指定多个key,获取嵌套的配置
sourceraw docstring

get-config-pathclj

(get-config-path)
source

init-configclj

(init-config {:keys [cli-args cfg-scheme] :as params :or {cli-args []}})

初始化配置, :cli-args 命令行参数 :cfg-scheme 配置定义

初始化配置,
:cli-args 命令行参数
:cfg-scheme 配置定义
sourceraw docstring

save-config!clj

(save-config!)
(save-config! save-path)
source

set-config!clj

(set-config! k-or-ks value)

临时设置配置项,建议仅用于repl测试

临时设置配置项,建议仅用于repl测试
sourceraw docstring

update-config!clj

(update-config! k-or-ks f & args)

更新配置项

更新配置项
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close