Welcome
Detailed Description
I currently have some scheduled lego v4 automation scripts that I want to convert into dual-use v4 / v5 scripts.
As far as I can tell from the docs there is no "status" option for lego migrate.
This means that my scheduled scripts would be unable to gracefully handle a scenario where the lego binary has been updated (for whatever reason, the why/how part is irrelevant) to v5 but there is existing v4 directory structure in-place (again, for whatever reason, the why/how part is irrelevant).
Clearly I do not want my script to blindly run lego migrate. Instead I would like to gracefully exit and notify/log.
Effective version of lego
5.2.2
How do you use lego?
Binary
In which context are you using lego?
Personal use
🌱 Supporting the Maintainers
Confirmation
Welcome
Detailed Description
I currently have some scheduled lego v4 automation scripts that I want to convert into dual-use v4 / v5 scripts.
As far as I can tell from the docs there is no "status" option for
lego migrate.This means that my scheduled scripts would be unable to gracefully handle a scenario where the lego binary has been updated (for whatever reason, the why/how part is irrelevant) to v5 but there is existing v4 directory structure in-place (again, for whatever reason, the why/how part is irrelevant).
Clearly I do not want my script to blindly run
lego migrate. Instead I would like to gracefully exit and notify/log.Effective version of lego
5.2.2
How do you use lego?
Binary
In which context are you using lego?
Personal use
🌱 Supporting the Maintainers
Confirmation