()
| 261 | |
| 262 | |
| 263 | def build_common_parser() -> argparse.ArgumentParser: |
| 264 | common = argparse.ArgumentParser(add_help=False) |
| 265 | common.add_argument( |
| 266 | "--output", |
| 267 | type=Path, |
| 268 | default=None, |
| 269 | help="File to append GitHub Actions outputs to (defaults to stdout).", |
| 270 | ) |
| 271 | return common |
| 272 | |
| 273 | |
| 274 | def parse_args() -> argparse.Namespace: |