Files
hosts2blocker/README.md

30 lines
439 B
Markdown
Raw Permalink Normal View History

2024-10-25 12:37:30 +01:00
# hosts2blocker
Converts a hosts file into a list of domains.
```
Usage: hosts2blocker [OPTIONS]
Options:
-i, --input-file <INPUT_FILE> [default: input.txt]
-o, --output-file <OUTPUT_FILE> [default: output.txt]
-h, --help Print help
-V, --version Print version
```
#### Example
Input:
```hosts
0.0.0.0 google.com
0.0.0.0 github.com
```
Output:
2024-10-25 13:12:16 +01:00
```csv
2024-10-25 12:37:30 +01:00
google.com
github.com
```