code: def call(opyrator: str, input_data: str) -> None:
      """Execute the opyrator from command line."""
      # Add the current working directory to the sys path
      # This is required to resolve the opyrator path
      sys.path.append(os.getcwd())
  
      try:
          from opyrator import Opyrator
  
          output = Opyrator(opyrator)(input_data)
          if output:
              typer.echo(output.json(indent=4))
          else:
              typer.echo("Nothing returned!")
      except ValidationError as ex:
          typer.secho(str(ex), fg=typer.colors.RED, err=True)
  
file_path: opyrator/src/opyrator/_cli.py
imports: import os
  import sys
  import typer
  from pydantic.error_wrappers import ValidationError
  from opyrator.export import ExportFormat
label_desc: Use image node_id 3 for calling a global function with example usage: call(opyrator, input_data) without return types