Initial Commit

This commit is contained in:
Niklas Keller
2015-12-03 01:14:34 +01:00
commit 3d9de77c90
10 changed files with 617 additions and 0 deletions

30
src/Commands/Revoke.php Normal file
View File

@@ -0,0 +1,30 @@
<?php
namespace Kelunik\AcmeClient\Commands;
use Amp\Promise;
use Kelunik\Acme\AcmeException;
use League\CLImate\Argument\Manager;
class Revoke implements Command {
public function execute(Manager $args): Promise {
throw new AcmeException("Command not yet implemented!");
}
public static function getDefinition(): array {
return [
"domains" => [
"prefix" => "d",
"longPrefix" => "domains",
"description" => "Domains to request a certificate for.",
"required" => true,
],
"server" => [
"prefix" => "s",
"longPrefix" => "server",
"description" => "ACME server to use for authorization.",
"required" => true,
],
];
}
}