(collect-optional arguments optionals key)collect all optional variables
collect all optional variables
(command-arguments args key custom multiple optionals)function for command arguments
function for command arguments
(command-form k)(command-form k custom)create the command form
create the command form
(command-params input)(command-params key custom)create command params for form generation
(command-params :ttl) => '{:id :ttl, :arguments ({:enum nil, :name "key", :process lib.redis.impl.common/process:key, :command nil, :type :key, :multiple false, :sym key, :optional nil, :display nil}), :prefix ("TTL"), :return :data, :optionals false, :multiple false}
(command-params [:set {}])
create command params for form generation
(command-params :ttl)
=> '{:id :ttl,
:arguments ({:enum nil, :name "key",
:process lib.redis.impl.common/process:key,
:command nil, :type :key, :multiple false, :sym key,
:optional nil, :display nil}),
:prefix ("TTL"), :return :data, :optionals false, :multiple false}
(command-params [:set {}])(command-parse m)(command-parse {:keys [id flags] :as m} {:keys [replace] :as custom})parse params for a given skeleton
parse params for a given skeleton
(command-redefs {:keys [sym process]})creates redefinitions for let bindings
creates redefinitions for let bindings
(command-step {:keys [type sym name multiple command values]})creates a command step
creates a command step
(command-tmpl {:keys [id prefix arguments return multiple optionals]})creates a command function from data
creates a command function from data
(expand-enum {:keys [enum name command]})expands the enum structure
expands the enum structure
(expand-prelim {:keys [type display sym name command enum multiple optional
process]
:as arg})expands the initial argument
expands the initial argument
(expand-process {:keys [process type multiple] :as arg})expands the argument for the :process keys
expands the argument for the `:process` keys
(optional-tmpl {:keys [id arguments]})creates the optional form from data
creates the optional form from data
(select-commands {:keys [group include exclude custom replace]})select commands and create a list of params
select commands and create a list of params
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 |