expiration-check/README.md

36 lines
1.1 KiB
Markdown

Expiration check
================
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 |
| mail.example.com | XXX | YYYY-MM-DD HH:MM:SS |
+-------------------+------+---------------------+
```
You can specify an ouput format using `--format` or `-f`:
- `table` (default)
- `json`
- `csv`
- `tsv`
- `html`
- `markdown`