De117 / scanner

MIT License
0 stars 0 forks source link

Configuration file and options #2

Open sgros opened 8 years ago

sgros commented 8 years ago

All the configuration options have to be placed in the INI style file. Python has built in module for that purpose that should be used:

https://docs.python.org/3.5/library/configparser.html

Certain subset of those options should have alternative in a command line and there should be --help and -h options that print short help. Again, Python has a built in module for processing command line options:

https://docs.python.org/3.5/library/argparse.html https://docs.python.org/3.5/library/getopt.html

De117 commented 7 years ago

Command-line options were added in 8d8096d62f3e506719f417cd05ebece0066d9441. I plan on adding a configuration file eventually, but right now it seems a low-priority issue.