mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-02 22:44:17 +01:00
13 lines
283 B
Python
Executable File
13 lines
283 B
Python
Executable File
#!/usr/bin/env python
|
|
import argparse
|
|
import pathlib
|
|
|
|
from espurna_utils import generate_arduino_h
|
|
|
|
if __name__ == "__main__":
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument("path", type=pathlib.Path)
|
|
args = parser.parse_args()
|
|
|
|
generate_arduino_h(args.path)
|