From 27f272704906c7a16d1c49574ebd0edd7329ee8a Mon Sep 17 00:00:00 2001 From: Akash Mahanty Date: Tue, 8 Feb 2022 20:12:19 +0530 Subject: [PATCH] add cli alias for --start-timestamp(--from) and --end-timestamp(--to) to conform with the CDX API docs. --- waybackpy/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/waybackpy/cli.py b/waybackpy/cli.py index a149a26..e9c45a3 100644 --- a/waybackpy/cli.py +++ b/waybackpy/cli.py @@ -189,12 +189,14 @@ def save_urls_on_file(url_gen: Generator[str, None, None]) -> None: "-st", "--start-timestamp", "--start_timestamp", + "--from", help="Start timestamp for CDX API in yyyyMMddhhmmss format.", ) @click.option( "-et", "--end-timestamp", "--end_timestamp", + "--to", help="End timestamp for CDX API in yyyyMMddhhmmss format.", ) @click.option(