|
|
|
@ -25,6 +25,7 @@ p.add_argument("--order", "-o", metavar='',
|
|
|
|
|
help='Order of sorting conditions. Should same amount as the --sort properties')
|
|
|
|
|
p.add_argument('--limit', '-l', help='(optional) Limit the number of returned '
|
|
|
|
|
'items')
|
|
|
|
|
# TODO: GET limit to work.Perhaps with a site.raw_api method
|
|
|
|
|
p.add_argument('--dry', '-d', action='store_true',
|
|
|
|
|
help='dry-run: will only show the query but not run it')
|
|
|
|
|
|
|
|
|
@ -118,7 +119,6 @@ for answer in site.ask(query):
|
|
|
|
|
all_document_parts = '' # Reset all_document_parts
|
|
|
|
|
|
|
|
|
|
# add info to documentslist for index creation
|
|
|
|
|
# TODO: possibly needs to be a SortedDict
|
|
|
|
|
documentslist.append({'file': htmlpage_fn,
|
|
|
|
|
'title': printout_dict.get('Title'),
|
|
|
|
|
'date': printout_dict.get('Date'),
|
|
|
|
|