#NEWLINE# def take_action( self , options ) : #NEWLINE# #INDENT# print ( 'Available commands:' ) #NEWLINE# commands = self . cmdapp . manager . _load_commands ( ) #NEWLINE# for ( name , klass ) in commands . items ( ) : #NEWLINE# #INDENT# description = klass . get_description ( ) #NEWLINE# if description : #NEWLINE# #INDENT# print ( '- {0}: {1}' . format ( name , description ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( '- {0}' . format ( name ) )