Liking cljdoc? Tell your friends :D

clj-agent-tui.commands

Data-first slash command registry for clj-agent-tui agent shells.

Data-first slash command registry for clj-agent-tui agent shells.
raw docstring

command-mapclj

(command-map commands)
source

command-optionsclj

(command-options)
(command-options commands)

Return command registry entries as selection option maps.

Return command registry entries as selection option maps.
sourceraw docstring

default-commandsclj

source

execute-commandclj

(execute-command state command)
(execute-command state commands {:keys [name args raw] :as command})

Execute a parsed slash command as a pure state transition.

Returns [state effects]. Unknown commands leave state unchanged and emit a :command/unknown effect so a runtime can decide how to recover.

Execute a parsed slash command as a pure state transition.

Returns `[state effects]`. Unknown commands leave state unchanged and emit a
`:command/unknown` effect so a runtime can decide how to recover.
sourceraw docstring

known-command?clj

(known-command? name)
(known-command? commands name)
source

parse-commandclj

(parse-command text)

Parse a slash command string into {:name :args :raw}; returns nil otherwise.

Parse a slash command string into {:name :args :raw}; returns nil otherwise.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close