diff --git a/src/Commands/Check.php b/src/Commands/Check.php index bb9c523..ef5c794 100644 --- a/src/Commands/Check.php +++ b/src/Commands/Check.php @@ -34,7 +34,7 @@ class Check implements Command { try { $pem = (yield $certificateStore->get($args->get("name"))); } catch (CertificateStoreException $e) { - $this->climate->br()->error("Certificate not found.")->br(); + $this->climate->br()->error(" Certificate not found.")->br(); yield new CoroutineResult(1); return; @@ -43,7 +43,7 @@ class Check implements Command { $cert = new Certificate($pem); $this->climate->br(); - $this->climate->info(" Certificate is valid until " . date("d.m.Y", $cert->getValidTo()))->br(); + $this->climate->whisper(" Certificate is valid until " . date("d.m.Y", $cert->getValidTo()))->br(); if ($cert->getValidTo() > time() + $args->get("ttl") * 24 * 60 * 60) { yield new CoroutineResult(0); diff --git a/src/Commands/Issue.php b/src/Commands/Issue.php index 2e2d20a..268407e 100644 --- a/src/Commands/Issue.php +++ b/src/Commands/Issue.php @@ -116,6 +116,7 @@ class Issue implements Command { $this->climate->info(" Successfully issued certificate."); $this->climate->info(" See {$path}/" . reset($domains)); + $this->climate->br(); yield new CoroutineResult(0); }