Argparse library - https://docs.python.org/2/library/argparse.html#module-argparse
Reference to argparse library - https://docs.python.org/2/library/argparse.html#usage
Command line arguments listings - https://github.com/loklak/python-loklak-api/blob/master/loklak.py#L226-L236
loklak -s <search parameters> or loklak --search <search params>
loklak -h or loklak --hello
loklak -p or loklak --peers
This should make it clear as to how the library has to be used as a command line tool.
####### Note
For the search task, assume that its only the query q parameters that are going to be sent as arguments by the user
and not the since and until
Similarly for GeoCode assume that a country/place or a list of places will be passed.