Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Apr 21, 2011
  1. Bumped to v0.0.4.

    authored
    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.

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

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

    authored
  2. Additional tests.

    authored
  3. Add some dispatching tests.

    authored
  4. rename API from cmd to CMD.

    authored
  5. add support for -- to suppress further interpretations.

    authored
    fix: unspecified value -> "".
  6. Add an example dispatcher.

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

    authored
  2. Refinements to README.md

    authored
    - 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.

    authored
    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

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

    authored
    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. Rationalize dispatcher implementation.

    authored
    Handlers are now invoked with this set to the api of the
    dispatcher that contains them.
  2. added a TODO section.

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