def add_command(self, cmd_name, *args):
        """Add command to action."""
        self.__commands.append(Command(cmd_name, args))
def add_command ( self , cmd_name , * args ) : self . __commands . append ( Command ( cmd_name , args ) )
Add command to action.