adafruit / Adafruit_Python_PlatformDetect

MIT License
58 stars 233 forks source link

Improve rpi_info script to run interactively #318

Closed makermelissa closed 11 months ago

makermelissa commented 11 months ago

I wanted to run this on a Raspberry Pi, but allow entering a different rev code manually. I added the ability to pass an argument to at the command line to do this. By using argparse, no external dependencies are needed.