tor-spider/bin/tor

18 lines
481 B
Plaintext
Raw Normal View History

2016-12-22 17:18:29 -08:00
#!/usr/bin/env php
<?php
use Sikofitt\Tor\Console\Command\TorDownloadCommand;
use Sikofitt\Tor\Console\Command\TorSpiderCommand;
use Symfony\Component\Console\Application;
require __DIR__ . '/../vendor/autoload.php';
$application = new Application('Tor Spider', '0.0.1');
$torDownloadCommand = new TorDownloadCommand();
$torDownloadCommand->setBaseDir(dirname(__DIR__));
$application->addCommands(array(
new TorSpiderCommand(),
$torDownloadCommand,
));
$application->run();