add simple console command
This commit is contained in:
13
bin/crawler
Executable file
13
bin/crawler
Executable 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();
|
Reference in New Issue
Block a user