AcmePhp\Cli\Command\AuthorizeCommand::configure PHP Méthode

configure() protected méthode

protected configure ( )
    protected function configure()
    {
        $this->setName('authorize')->setDefinition([new InputOption('solver', 's', InputOption::VALUE_REQUIRED, 'The type of challenge solver to use (available: http, dns)', 'http'), new InputArgument('domain', InputArgument::REQUIRED, 'The domain to ask an authorization for')])->setDescription('Ask the ACME server for an authorization token to check you are the owner of a domain')->setHelp(<<<'EOF'
The <info>%command.name%</info> command asks the ACME server for an authorization token.
You will then have to expose that token on a specific URL under that domain and ask for
the server to check you are the own of the domain by checking this URL.

Ask the server for an authorization token:

  <info>php %command.full_name% example.com</info>
  
Follow the instructions to expose your token on the specific URL, and then run the <info>check</info>
command to tell the server to check your token.
EOF
);
    }
AuthorizeCommand