Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"create or update" functionality #1463

Closed
1 task done
udf2457 opened this issue Aug 9, 2021 · 1 comment
Closed
1 task done

"create or update" functionality #1463

udf2457 opened this issue Aug 9, 2021 · 1 comment

Comments

@udf2457
Copy link

udf2457 commented Aug 9, 2021

Welcome

  • Yes, I've searched similar issues on GitHub and didn't find any.

How do you use lego?

Binary

Detailed Description

Looking through the supported binary args, I can't see a flag that would enable this.

To use database terminology, it would be nice to have "create or update" style functionality.

In pseudo-code:

if exists($domain) {
 renew
} else {
 run
}

Yes, I know this can be done in a bash wrapper to lego, but it would be nice to have the intelligence embedded into the binary functionality.

@ldez ldez added the duplicate label Aug 9, 2021
@ldez
Copy link
Member

ldez commented Aug 9, 2021

Duplicate of #216 #290

@ldez ldez closed this as completed Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants