is-wordpress/README.md

39 lines
460 B
Markdown
Raw Normal View History

2019-12-01 11:50:59 +01:00
# Requirements 👀
2019-12-01 10:45:42 +01:00
2019-12-01 10:48:37 +01:00
- bash 4.0 or higher
- curl
2019-12-01 10:45:42 +01:00
2019-12-01 11:50:59 +01:00
# Install ⚙️
2019-12-01 10:45:42 +01:00
``` bash
2019-12-01 10:48:37 +01:00
curl -o is-wordpress https://raw.githubusercontent.com/tanrax/is-wordpress/master/is-wordpress
2019-12-01 10:45:42 +01:00
chmod +x is-wordpress
2019-12-14 09:08:33 +01:00
sudo mv is-wordpress /usr/local/bin
2019-12-01 10:45:42 +01:00
```
2019-12-01 11:50:59 +01:00
# Run 🏃‍♂️
2019-12-01 10:45:42 +01:00
``` bash
2019-12-14 09:08:33 +01:00
is-wordpress [domain]
2019-12-01 10:45:42 +01:00
```
2019-12-01 11:50:59 +01:00
# Example 👨‍🎓
2019-12-01 10:45:42 +01:00
``` bash
2019-12-14 09:08:33 +01:00
is-wordpress blog.us.playstation.com
2019-12-01 10:45:42 +01:00
```
2019-12-01 11:50:59 +01:00
⬇️
2019-12-01 10:50:21 +01:00
``` bash
true
```
---
``` bash
2019-12-14 09:08:33 +01:00
is-wordpress google.com
2019-12-01 10:50:21 +01:00
```
2019-12-01 11:50:59 +01:00
⬇️
2019-12-01 10:50:21 +01:00
``` bash
false
```