Validates a --dates
argument in Python with the following possible formats:
- YYYYMMDD (eg. 20120515)
- YYYYMMDD-YYYYMMDD (eg. 20140115-20140315)
- yesterday
- today
To use this function, reference it in the argparse
setup:
Validates a --dates
argument in Python with the following possible formats:
To use this function, reference it in the argparse
setup: