3 ms·
This is handy, but the XML URL needs to be definable also maybe output location. Something like: go run main.go -sitemap=https://example.com/sitemap.xml -ou
by Reptur 3y ago
This is handy, but the XML URL needs to be definable also maybe output location.
Something like:
go run main.go -sitemap=https://example.com/sitemap.xml -output=~/some/folder
Also I'd print out the file paths of the newly created files as they get saved for better user feedback.
- benatkin 3y agoI dunno, it seems like a YAGNI situation to me. Edit: OP is probably planning on adding that. Same time as updating the README. It's fairly simple how it is right now, to just edit the literals in the code and run it.