def main()

in scripts/gha/print_matrix_configuration.py [0:0]


def main():
  args = parse_cmdline_args()
  if args.unity_version:
    if args.parm_key == "unity_path":
      print(get_unity_path(args.unity_version))
    else:
      print(UNITY_SETTINGS[args.unity_version][get_os()].get(args.parm_key))
    return 

  if args.device:
    print(TEST_DEVICES.get(args.parm_key).get("type"))
    return 
  if args.desktop_os:
    print(filterdesktop_os(platform=args.parm_key))
    return 
  if args.mobile_platform:
    print(filter_mobile_platform(platform=args.parm_key))
    return 

  if args.override:
    # If it is matrix parm, convert CSV string into a list
    if not args.config:
      args.override = args.override.split(',')

    print_value(args.override, args.config)
    return

  if args.expanded:
    test_matrix = EXPANDED_KEY
  elif args.minimal:
    test_matrix = MINIMAL_KEY
  else:
    test_matrix = ""
  value = get_value(args.workflow, test_matrix, args.parm_key, args.config)
  if args.workflow == "integration_tests" and (args.parm_key == "android_device" or args.parm_key == "ios_device"):
    value = filter_devices(devices=value, device_type=args.device_type)
  if args.auto_diff:
    value = filter_values_on_diff(args.parm_key, value, args.auto_diff)
  print_value(value, args.config)