<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_command(self, cmd_name, *args):
 """Add command to action."""

        self.__commands.append(Command(cmd_name, args))