Extract parsing arguments into separated function
Abdujabbar opened this issue · 2 comments
Abdujabbar commented
Hello!
Just reviewed the source, and want to suggest, it would be better to manage if we can separate process of parsing arguments into a separate function.
https://github.com/azimjohn/jprq/blob/master/cli/main.go#L31-L70
method: parse_args - which would be parse arguments and will return a dictionary like in the python parse_args function, or raises an exception:
https://docs.python.org/3/library/argparse.html?highlight=argparse#module-argparse
azimjohn commented
PR please!
Abdujabbar commented
@azimjohn Ok, let I will do it. Thanks