MCPcopy Create free account
hub / github.com/FastLED/FastLED / parse_args

Function parse_args

ci/inspect_binary.py:82–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80
81
82def parse_args() -> argparse.Namespace:
83 parser = argparse.ArgumentParser(
84 description="Convert a binary file to ELF using map file."
85 )
86 parser.add_argument("--first", action="store_true", help="Inspect the first board")
87 parser.add_argument("--cwd", type=Path, help="Custom working directory")
88
89 return parser.parse_args()
90
91
92def load_build_info(build_info_path: Path) -> dict[str, Any]:

Callers 1

mainFunction · 0.70

Calls 1

parse_argsMethod · 0.80

Tested by

no test coverage detected