def cmd(self, args=None, interact=True):
        """Process command-line arguments."""
        if args is None:
            parsed_args = arguments.parse_args()
        else:
            parsed_args = arguments.parse_args(args)
        self.exit_code = 0
        with self.handling_exceptions():
            self.use_args(parsed_args, interact, original_args=args)
        self.exit_on_error()
def cmd ( self , args = None , interact = True ) : if args is None : parsed_args = arguments . parse_args ( ) else : parsed_args = arguments . parse_args ( args ) self . exit_code = 0 with self . handling_exceptions ( ) : self . use_args ( parsed_args , interact , original_args = args ) self . exit_on_error ( )
Process command-line arguments.