code: def f(field: str, kwargs: Dict[str, Any],
        default: Optional[Any] = None) -> str:
      
      if default is not None:
          return str(kwargs.get(field, default))
      return str(kwargs[field])
docs: Alias for more readable command construction