Port this script https://gitlab.com/isl-ingenierie/qgis/isl_qgis_profiles/-/blob/main/scripts/update_plugins/update_plugins.py?ref_type=heads in QDT
Sub-command should take as argument a profile file to allow a better control (experimental, profile version bump, ...)