code: def main() -> None:
      app_name = "MyApp"
      app_author = "MyCompany"
  
      print(f"-- platformdirs {__version__} --")
  
      print("-- app dirs (with optional 'version')")
      dirs = PlatformDirs(app_name, app_author, version="1.0")
      for prop in PROPS:
          print(f"{prop}: {getattr(dirs, prop)}")
  
      print("\n-- app dirs (without optional 'version')")
      dirs = PlatformDirs(app_name, app_author)
      for prop in PROPS:
          print(f"{prop}: {getattr(dirs, prop)}")
  
      print("\n-- app dirs (without optional 'appauthor')")
      dirs = PlatformDirs(app_name)
      for prop in PROPS:
          print(f"{prop}: {getattr(dirs, prop)}")
  
      print("\n-- app dirs (with disabled 'appauthor')")
      dirs = PlatformDirs(app_name, appauthor=False)
      for prop in PROPS:
          print(f"{prop}: {getattr(dirs, prop)}")
  
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types