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

Function parse_args

ci/wasm_test.py:25–41  ·  view source on GitHub ↗

Parse command-line arguments

()

Source from the content-addressed store, hash-verified

23
24
25def parse_args():
26 """Parse command-line arguments"""
27 parser = argparse.ArgumentParser(
28 description="Run WASM Playwright tests for FastLED examples"
29 )
30 parser.add_argument(
31 "example",
32 nargs="?",
33 default="wasm",
34 help="Example name to test (e.g., 'Blink', 'wasm')",
35 )
36 parser.add_argument(
37 "--gfx",
38 default="0",
39 help="Graphics mode parameter (default: 0)",
40 )
41 return parser.parse_args()
42
43
44# Ensure Playwright browsers are installed

Callers 1

mainFunction · 0.70

Calls 1

parse_argsMethod · 0.80

Tested by

no test coverage detected