Opened 17 years ago
Closed 17 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: |
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 (2)
comment:1 Changed 17 years ago by
Milestone: | 0.2.5 → 0.2.6 |
---|
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
[e6a9fcbbf3b2873e24963c32d54ec20b3cabbee7] should take care of this.
I didn't manage to make this happen for 0.2.5 .. pushing it out to the next release.