#NEWLINE# def commands( self ) : #NEWLINE# #INDENT# test = ui . Subcommand ( 'test' ) #NEWLINE# test . func = ( lambda * args : None ) #NEWLINE# test . parser . add_option ( '-o' , '--option' , dest = 'my_opt' ) #NEWLINE# plugin = ui . Subcommand ( 'plugin' ) #NEWLINE# plugin . func = ( lambda * args : None ) #NEWLINE# return [ plugin , plugin ]