Ticket #51 (closed enhancement: fixed)

Opened 8 months ago

Last modified 7 months ago

make flogtool commands usable as subcommands of a different tool

Reported by: warner Assigned to:
Priority: major Milestone: 0.2.6
Component: logging Version: 0.2.4
Keywords: Cc:

Description

It would be nice if the commands available in flogtool (dump, tail, etc) could be used as subcommands from a different tool, like the 'tahoe' or 'buildbot' driver. So running 'tahoe flogtool tail' should do the same thing as running 'flogtool tail'.

This would be most useful when that other tool is bundled via py2exe or py2app. In that environment, the 'flogtool' executable isn't available, but the 'tahoe' one is.

To do this, we need to split out the dispatch function, and make the usage.Options classes available for import.

Change History

03/25/08 00:48:03 changed by warner

  • milestone changed from 0.2.5 to 0.2.6.

I didn't manage to make this happen for 0.2.5 .. pushing it out to the next release.

05/05/08 16:19:11 changed by warner

  • status changed from new to closed.
  • resolution set to fixed.

[389:9de9cd9607c5] should take care of this.