chickadee » commands » make-command

make-command name help procprocedure

Create a new command object with:

  • name (symbol) as name
  • help (string) as help message
  • proc (procedure) as procedure to implement the behavior of the command. The arity of the procedure is up to implementors to define (typically the cdr of command-line-arguments, which has the command name as its car).