domain-expiration/README.md
2019-07-19 09:25:28 +02:00

33 lines
950 B
Markdown

Domain expiration
=================
Checks the expiration dates of domains.
## Installation and usage
PHP 7.3, [composer](https://getcomposer.org/) and `whois` required.
```text
$ git clone https://gitnet.fr/deblan/domain-expiration.git
$ cd domain-expiration
$ composer install
```
```text
$ php7.3 ./domain-expiration check example.com 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 |
+-------------------+------+---------------------+
```
You are able specify output options:
* `--table` (`-t`): output is a table (default)
* `--short` (`-s`): removes borders
* `--no-header`: removes headers
* `--json` (`-j`): output is a json
* `--wait` (`-w`): specifiy the number of seconds between each request (defaut: 0)