All pastes #631880 Raw Edit

Stuff

public text v1 · immutable
#631880 ·published 2007-07-24 12:57 UTC
rendered paste body
from twisted.python import usage

class Subcommand(usage.Options):
    pass

class TopCommand(usage.Options):

    subCommands = (
        ('subcommand', 'sub', Subcommand, 'Subcommand thing'),
        )


if __name__ == '__main__':
    TopCommand().parseOptions()