Run hooke.command.Argument.callback every time (if defined).
authorW. Trevor King <wking@drexel.edu>
Wed, 12 May 2010 18:00:57 +0000 (14:00 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 12 May 2010 18:00:57 +0000 (14:00 -0400)
commit14dc5541bca5edec1127ada8cf7a10ab110f2e82
tree6c2aead27c8a7384dec7aa9c94f2936c9909885c
parent4805fbf9d500479c57e15a1789f1945c9fc5920c
Run hooke.command.Argument.callback every time (if defined).

The previous implemtation which only ran the callback if a value was
given was too confusing.

Also:
  * Added hooke.plugin.playlist.NoteFilterCommand.  In general, I
    think running commands this way is pretty awkward.  We should
    probably just use a Python interpreter instead of cmd.Cmd, but
    for now, NoteFilterCommand provides something like the old
    'copylog' functionality.
  * Removed a bunch of superseded code from hooke.hooke_cli.
hooke/command.py
hooke/hooke_cli.py
hooke/plugin/playlist.py
hooke/ui/commandline.py