in export.py [0:0]
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument("--directory", help="Path to directory in which to store the exported data. Default is current directory.",
type=str, default=os.getcwd())
parser.add_argument("--start-time", help="The start timestamp from which to start collecting exported data. Format: YYYY-MM-DDTHH:MM",
type=lambda d: datetime.datetime.strptime(d, '%Y-%m-%dT%H:%M'))
parser.add_argument("--end-time", help="The end timestamp until which exported data will be collected. Format: YYYY-MM-DDTHH:MM",
type=lambda d: datetime.datetime.strptime(d, '%Y-%m-%dT%H:%M'))
parser.add_argument("--filters", help="List of agentIds for which exported data will be collected.", nargs='+', type=str)
parser.add_argument("--log-file", help="File name where logs will be written, instead of the console", dest="log_file")
return parser.parse_args()