vezaynk / Sitemap-Generator-Crawler

PHP script to recursively crawl websites and generate a sitemap. Zero dependencies.
https://www.bbss.dev
MIT License
243 stars 93 forks source link

Improve CLI controls #18

Closed vezaynk closed 7 years ago

vezaynk commented 7 years ago

Currently the CLI allows an on-the-fly override of the target file and the url. This can be pushed further by allowing each option to be as well.

php sitemap.php file=/home/user/public_html/sitemap.xml url=http://www.mywebsite.com/

Note 1: Debug controls are not necessary Note 2: url will be renamed to site