jprq
jprq copied to clipboard
Extract parsing arguments into separated function
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
PR please!
@azimjohn Ok, let I will do it. Thanks