cli: refactor start/end date params.
Date partitions are dropped early in the processing.
This change refactors the cli helper logic
to filter dataset before the drop happens,
if --start-date
and --end-date
parameters
are provided.
Bug: T360536