<s> from lymph . cli . base import Command , get_command_classes <EOL> class ListCommand ( Command ) : <EOL> """<STR_LIT>""" <EOL> short_description = '<STR_LIT>' <EOL> needs_config = False <EOL> def run ( self ) : <EOL> command_names = get_command_classes ( ) . keys ( ) <EOL> max_command_name = max ( command_names , key = len ) <EOL> description_offset = len ( max_command_name ) + <NUM_LIT:2> <EOL> for name , cls in sorted ( get_command_classes ( ) . items ( ) ) : <EOL> print ( u'<STR_LIT>' . format ( <EOL> t = self . terminal , <EOL> name = name , <EOL> description = cls . short_description , <EOL> offset = description_offset <EOL> ) ) </s>
