command-line-arguments

API Reference

command-line-arguments

small library to deal with command-line arguments

COMMAND-LINE-ARGUMENTS

  • Function GET-COMMAND-LINE-ARGUMENTS
  • Function COMPUTE-AND-PROCESS-COMMAND-LINE-OPTIONS (specification)
  • Function HANDLE-COMMAND-LINE (specification function &key (positional-arity 0) (rest-arity nil) name (command-line (get-command-line-arguments)))
  • Variable *COMMAND-LINE-OPTIONS*
    nil
    command-line options as parsed into a plist
  • Variable *COMMAND-LINE-OPTION-SPECIFICATION*
    nil
    the (prepared) specification for how to parse command-line options
  • Function PROCESS-COMMAND-LINE-OPTIONS (specification command-line)
    SPECIFICATION is a list as described above. COMMAND-LINE is the list of tokens to be parsed. Return two values: a list of alternating actions and values, and a list of the arguments remaining after the various specified options.
  • Function SHOW-OPTION-HELP (specification &key (stream *standard-output*) sort-names)

Also exports

  • UIOP/IMAGE:*COMMAND-LINE-ARGUMENTS*