Add CLI flags

This commit is contained in:
2024-12-30 06:03:25 -07:00
parent 5ed6b120d3
commit fa6008d854
3 changed files with 29 additions and 12 deletions

View File

@@ -5,5 +5,15 @@ Download images from reddit.
```bash
go mod tidy
go run main.go
go run main.go pics oldschoolcool thewaywewere MilitaryPorn EarthPorn
```
```bash
docker run --restart unless-stopped \
-v ${PWD}/subreddits:/data/subreddits \
ghcr.io/cwpearson/reimager --every 1800 --out-dir /data/subreddits \
pics \
EarthPorn \
oldschoolcool \
thewaywewere
```