code: def call_parse(func):
      "Decorator to create a simple CLI from `func` using `anno_parser`"
      name = inspect.currentframe().f_back.f_globals['__name__']
      if name == "__main__":
          args = anno_parser(func).parse_args()
          func(**args.__dict__)
      else: return funf call_parse(func):
      "Decorator to create a simple CLI from `func` using `anno_parser`"
      name = inspect.currentframe().f_back.f_globals['__name__']
      if name == "__main__":
          args = anno_parser(func).parse_args()
          func(**args.__dict__)
      else: return func
docs: Decorator to create a simple CLI from `func` using `anno_parser`