add simple console command

This commit is contained in:
James
2020-02-22 13:50:20 +00:00
parent 9623a36013
commit ef4ebf7cd0
5 changed files with 336 additions and 2 deletions

13
bin/crawler Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env php
<?php
if (file_exists(__DIR__.'/../vendor/autoload.php')) {
require __DIR__.'/../vendor/autoload.php';
} else {
require __DIR__.'/../../../autoload.php';
}
$application = new JHodges\Sitemap\ConsoleApplication();
$application->run();