Commits

Author Commit Message Labels Comments Date
Michael Elsdörfer
Fix for #21: Don't hide IndexErrors raised by commands.
Michael Elsdörfer
Server command was still broken.
Michael Elsdörfer
Fix the Server command, which was broken probably due to one of the merges going awry.
Michael Elsdörfer
Added a test for implementing custom Command.handle() implementations.
Michael Elsdörfer
Merged the dangling 85779ce25e96 head into default. This includes mainly Ask's Command.handle() refactor, which is now responsible for the argument parsing, allowing custom commands to overwrite the parsing behavior. For example, if a custom command wraps around some other libraries command parsing code, it can simply parse the original argv list along unmodified. This thus replaces the 'capture_all_args' functionality which previously attempted to do the same thing.
Michael Elsdörfer
Merged backout into default branch.
Michael Elsdörfer
Backed out changeset 4d3529588165. We'll implement a better way (giving the Command class control over argument parsing).
danjac
removed deprecated prompt methods
Ask Solem Hoel
Move parts of Manager.handle to Command.handle so commands can override how remaining_args is used.
danjac
doc change
danjac
doc change
danjac
upgrade to 0.3.1
danjac
fix for issue #17
danjac
removed unneeded run() method for server
danjac
moved test_request_context into command.handle
danjac
handle no command passed
danjac
pulled ronny's default_command option
Ronny Pfannschmidt
add support for running a default command instead of printing the usage if no args are given
danjac
add run_simple options
danjac
removed unused comment
danjac
added catch all remaining args for ext commands. Thanks to miracle2k
danjac
switch debug/reload
danjac
doc fixes
danjac
doc fixes
danjac
doc fixes
danjac
removing unused import
danjac
removing .orig file
danjac
removed noop lines
danjac
padding get_usage
danjac
default unicode
  1. Prev
  2. Next