Skip to content

md-command

[module] md-command

MDAL Command Configuration

[procedure] (command-has-flag? CMD FLAG)

check if the given command CMD has the given FLAG

[procedure] (command-has-flags? CMD)

check if the given command CMD has any flags

[procedure] (display-command CMD)

construct a hash table from a file containing key/value definitions

[procedure] (make-default-commands)

Construct an alist containing the default commands AUTHOR, TITLE, and LICENSE

[procedure] (make-modifier-commands BASE-COMMANDS)

Construct modifier commands for the alist of id, command pairs, as required by the 'enable-modifiers flag.

[procedure] (eval-command PATH-PREFIX CPU-SPEED #!key ID TYPE BITS DEFAULT REFERENCE-TO KEYS (FLAGS '()) RANGE (DESCRIPTION ""))

Evaluate a MDCONF command definition expression. Returns a command object.