Check that the current version is up to date by comparing with the latest release on Github.
Possibly using https://api.github.com/repos/ONSdigital/dp-cli/releases/latest which does not need authentication but will only work when there is at lease one full release (ie. not Pre-Release).
Check should definitely be done on dp version but might also be worthwhile doing at any other time too?
Check that the current version is up to date by comparing with the latest release on Github.
Possibly using https://api.github.com/repos/ONSdigital/dp-cli/releases/latest which does not need authentication but will only work when there is at lease one full release (ie. not Pre-Release).
Check should definitely be done on
dp versionbut might also be worthwhile doing at any other time too?