This PR adds an --updated-since option to the index command, allowing for datetime expressions compatible with strtotime. This allows us to run index incrementally, for example every day for the last day.
Example usage:
bin/console vsbridge:index --updated-since=-2day # must use the long form since - in the value doesn't pass Symfony console options parsing
bin/console vsbridge:index -s yesterday
bin/console vsbridge:index -s "last week" # must quote to make it a single argument
bin/console vsbridge:index -s 2021-01-01
This PR adds an
--updated-since
option to the index command, allowing for datetime expressions compatible withstrtotime
. This allows us to run index incrementally, for example every day for the last day.Example usage:
etc.