Opened 16 years ago

Closed 16 years ago

#51 closed enhancement (fixed)

make flogtool commands usable as subcommands of a different tool

Reported by: Brian Warner Owned by:
Priority: major Milestone: 0.2.6
Component: logging Version: 0.2.4
Keywords: Cc:


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 (2)

comment:1 Changed 16 years ago by Brian Warner


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

comment:2 Changed 16 years ago by Brian Warner

Resolution: fixed
Status: newclosed

[e6a9fcbbf3b2873e24963c32d54ec20b3cabbee7] should take care of this.

Note: See TracTickets for help on using tickets.