<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def option(self, key=None):
 """ Get the value of a command option. """

        if key is None:
            return self._args.options()

        return self._args.option(key)