Closed molobrakos closed 8 years ago
Thanks for your contribution. However, I will not accept this pull request: It changes the output unconditionally to JSON, breaking the script for anyone that depends on the existing format. Also, directly pulling arguments from sys.argv
makes it hard to add any other arguments in the future.
I would be happy to accept a similar pull request that would use argparse
for proper command line handling. That way the script could accept, for example, --freq N
and --json
arguments.
Accept frequency as optional argument to script. Output state updates as json for easy processing