Re-archive command

If I want to re-archive data for a week or month, is the command correct below?

ex:To re-archive the week of 2022/6/20 for site ID 1

php console core:invalidate-report-data --dates=2022-06-20,2022-06-20 --sites=1
php console core:archive --force-idsites=1 --force-idsegments=1 --force-date-range=2022-06-01,2022-06-30 --concurrent-requests-per-website=8 --url=http://XXXX/piwik/

If you have a command that allows me to specify the week, please let me know.