|
|
@ -32,7 +32,7 @@ parser = argparse.ArgumentParser() |
|
|
parser.add_argument("-n","--name", help="Name contains",default=None) |
|
|
parser.add_argument("-n","--name", help="Name contains",default=None) |
|
|
parser.add_argument("-c","--type", help="Content Type in.",default=None) |
|
|
parser.add_argument("-c","--type", help="Content Type in.",default=None) |
|
|
parser.add_argument("-p","--parent", help="ParentURI starts with.",default=None) |
|
|
parser.add_argument("-p","--parent", help="ParentURI starts with.",default=None) |
|
|
parser.add_argument("-d","--days", help="List files older than this number of days",default='0') |
|
|
parser.add_argument("-d","--days", help="List files older than this number of days",default='-1') |
|
|
parser.add_argument("-m","--modifiedby", help="Last modified id equals",default=None) |
|
|
parser.add_argument("-m","--modifiedby", help="Last modified id equals",default=None) |
|
|
parser.add_argument("-s","--sortby", help="Sort the output descending by this field",default='modifiedTimeStamp') |
|
|
parser.add_argument("-s","--sortby", help="Sort the output descending by this field",default='modifiedTimeStamp') |
|
|
parser.add_argument("-o","--output", help="Output Style", choices=['csv','json','simple'],default='json') |
|
|
parser.add_argument("-o","--output", help="Output Style", choices=['csv','json','simple'],default='json') |
|
|
@ -79,4 +79,4 @@ cols=['id','name','contentType','documentType','createdBy','modifiedTimeStamp',' |
|
|
# print result |
|
|
# print result |
|
|
|
|
|
|
|
|
printresult(files_result_json,output_style,cols) |
|
|
printresult(files_result_json,output_style,cols) |
|
|
|
|
|
|
|
|
|