Skip to content
Commits on Apr 21, 2011
  1. Bumped to v0.0.4.

    committed
    Two changes:
    - deprecated createDispatcher() in favour of use()
    - added support for idiomatic-stdio via --console-to-stderr option
  2. Add transparent support for --console-to-stderr option.

    committed
    Delegates to idiomatic-stdio to achieve rebinding.
  3. Rename createDispatcher() to use().

    committed
    Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Commits on Jan 29, 2011
  1. fix: handle -- properly.

    committed
  2. Additional tests.

    committed
  3. Bump version number to 0.0.3.

    committed
  4. Add some dispatching tests.

    committed
  5. rename API from cmd to CMD.

    committed
  6. add support for -- to suppress further interpretations.

    committed
    fix: unspecified value -> "".
  7. Add an example dispatcher.

    committed
Commits on Jan 26, 2011
  1. minor grammar correction

    committed
  2. Refinements to README.md

    committed
    - refined section on dispatcher strategy and tactics
    - added section on handler functions
    - re-organised sections on arguments
    - updated TODO lis.t
Commits on Jan 25, 2011
  1. Use prototypes.

    committed
    Not quite the final result. Want the this passed to functions to be the object
    that has the dispatchers defined.
    
    
    Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
Commits on Jan 24, 2011
  1. Changed _select so that shifting is a function of the function

    committed
    returned and not a responsibiity of the strategy.
    
    Signed-off-by: Jon Seymour <jon.seymour@gmail.com>
  2. Restructure dispatching as a strategy.

    committed
    Dispatching now has 3 phases.
    
    Parsing renders arguments which are not a single command into a command.
    
    Selection derives a handler from the command.
    
    If a handler is found, it is called.
Commits on Jan 23, 2011
  1. Rationalization of README.md

    committed
  2. Rationalize dispatcher implementation.

    committed
    Handlers are now invoked with this set to the api of the
    dispatcher that contains them.
  3. bumped version number 0.0.2.

    committed
  4. added a TODO section.

    committed
Something went wrong with that request. Please try again.