#NEWLINE# def create_command( self , shortcut , refs = None ) : #NEWLINE# #INDENT# cmd = self [ 'command' ] #NEWLINE# args = None #NEWLINE# if ( 'args' in shortcut ) : #NEWLINE# #INDENT# args = shortcut [ 'args' ] #NEWLINE# #UNINDENT# if ( refs and args ) : #NEWLINE# #INDENT# return CommandParser ( cmd , args , refs ) . create_command ( ) #NEWLINE# #UNINDENT# return dict ( command = cmd , args = args )