protected function configure()
{
$this->setName('register')->setDefinition([new InputArgument('email', InputArgument::OPTIONAL, 'An e-mail to use when certificates will expire soon'), new InputOption('agreement', null, InputOption::VALUE_REQUIRED, 'The server usage conditions you agree with (automatically agreed with all licenses)')])->setDescription('Register your account private key in the ACME server')->setHelp(<<<'EOF'
The <info>%command.name%</info> command register your account key in the ACME server
provided by the option --server (by default it will use Let's Encrypt servers).
This command will generate an account key if no account key exists in the storage.
You can add an e-mail that will be added to your registration (required for Let's Encrypt):
<info>php %command.full_name% [email protected]</info>
EOF
);
}