init
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Simon Vieille 2024-07-22 10:36:51 +02:00
commit 91e551f6d5
Signed by: deblan
GPG key ID: 579388D585F70417
12 changed files with 388 additions and 0 deletions

26
README.md Normal file
View file

@ -0,0 +1,26 @@
Expiration checker
==================
Checks the expiration dates of domains et certificates.
## Usage
Go to [releases](https://gitnet.fr/deblan/expiration-check/releases) and download the latest version.
```text
$ expiration-check domains -d example.com -d other-example.com
+-------------------+------+---------------------+
| DOMAIN | DAYS | DATE |
+-------------------+------+---------------------+
| example.com | XX | YYYY-MM-DD HH:MM:SS |
| other-example.com | XXX | YYYY-MM-DD HH:MM:SS |
+-------------------+------+---------------------+
$ expiration-check certificates -d example.com -d other-example.com -d mail.example.com:993
+-------------------+------+---------------------+
| DOMAIN | DAYS | DATE |
+-------------------+------+---------------------+
| example.com | XX | YYYY-MM-DD HH:MM:SS |
| other-example.com | XXX | YYYY-MM-DD HH:MM:SS |
+-------------------+------+---------------------+
```