Liking cljdoc? Tell your friends :D

commando.impl.registry

API for registry.

A registry is a collection of command specifications that define how to recognize, validate, and execute commands found in instruction map.

API for registry.

A registry is a collection of command specifications that define how to
recognize, validate, and execute commands found in instruction map.
raw docstring

attach-instruction-commandsclj/s

(attach-instruction-commands registry)
source

buildclj/s

(build command-spec-list)

Builds a command registry from a sequence of command specifications.

Validates all specs and returns a registry that can be used with execute. The registry is marked with metadata to enable caching of compilation results.

Args: command-spec-list - A sequence of command specifications

Returns: A validated registry vector with metadata for caching or throws an error

Builds a command registry from a sequence of command specifications.

Validates all specs and returns a registry that can be used with execute.
The registry is marked with metadata to enable caching of compilation results.

Args:
  command-spec-list - A sequence of command specifications

Returns:
  A validated registry vector with metadata for caching or throws an error
sourceraw docstring

built?clj/s

(built? registry)

Returns true if the given value is a properly built registry.

Returns true if the given value is a properly built registry.
sourceraw docstring

detach-instruction-commandsclj/s

(detach-instruction-commands registry)
source

remove-instruction-commands-from-command-vectorclj/s

(remove-instruction-commands-from-command-vector cm-vector)
source

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