mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
10 lines
181 B
Python
Executable File
10 lines
181 B
Python
Executable File
#!/usr/bin/env python3
|
|
import configparser
|
|
import sys
|
|
from readprops import readProps
|
|
|
|
|
|
verObj = readProps('version.properties')
|
|
propName = sys.argv[1]
|
|
print(f"{verObj[propName]}")
|