micronaut-starter icon indicating copy to clipboard operation
micronaut-starter copied to clipboard

Fix mn create-acme-account usage

Open msgilligan opened this issue 4 years ago • 3 comments

“Name of the key to be used or created”

See Issue #849

This is a draft -- needs to be tested.

msgilligan avatar Jul 13 '21 19:07 msgilligan

This doesn't work and the following error is generated when the command is run:

Exception in thread "main" picocli.CommandLine$DuplicateOptionAnnotationsException: Option name '-n' is used by both field String io.micronaut.starter.cli.feature.acme.CreateAccount.keyName and field String io.micronaut.starter.cli.feature.acme.CreateKeyPair.keyName

msgilligan avatar Jul 13 '21 21:07 msgilligan

I've never used picocli before, this fix is probably easier for someone who knows it better.

msgilligan avatar Jul 13 '21 21:07 msgilligan

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Feb 07 '24 21:02 CLAassistant