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

Function parse_args

ci/wasm_audio_url_test.py:36–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35
36def parse_args():
37 parser = argparse.ArgumentParser(
38 description="Test WASM audio URL auto-load for FastLED AudioUrl example"
39 )
40 parser.add_argument(
41 "example",
42 nargs="?",
43 default="AudioUrl",
44 help="Example name to test (default: AudioUrl)",
45 )
46 parser.add_argument(
47 "--timeout",
48 type=int,
49 default=30,
50 help="Timeout in seconds for audio load (default: 30)",
51 )
52 return parser.parse_args()
53
54
55def install_playwright_browsers():

Callers 1

mainFunction · 0.70

Calls 1

parse_argsMethod · 0.80

Tested by

no test coverage detected