code: def add_script(self, key: str, value: str,
                     lineno: Optional[int] = None) -> None:
          '''script starts with key: value'''
          # we need a fake directive here because the : directive can be multi-line and
          # we need to borrow the syntax checking of directives here.
          self.statements.append([':', '__script__', ''])
          self.values = [value]
          self._action = key
          self._action_options = value
          if lineno:
              self.lineno = linenf add_script(self, key: str, value: str,
                     lineno: Optional[int] = None) -> None:
          '''script starts with key: value'''
          # we need a fake directive here because the : directive can be multi-line and
          # we need to borrow the syntax checking of directives here.
          self.statements.append([':', '__script__', ''])
          self.values = [value]
          self._action = key
          self._action_options = value
          if lineno:
              self.lineno = lineno
docs: script starts with key: value