mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
16 lines
383 B
PHP
16 lines
383 B
PHP
<?php
|
|
if (!isset($argv[1]) || !in_array($argv[1], ['backfill', 'binaries'])) {
|
|
exit(
|
|
'First argument (mandatory):' . PHP_EOL .
|
|
'binaries => Do Safe Binaries update.' . PHP_EOL .
|
|
'backfill => Do Safe Backfill update.' . PHP_EOL
|
|
);
|
|
}
|
|
|
|
declare(ticks=1);
|
|
require('.do_not_run/require.php');
|
|
|
|
use \newznab\libraries\Forking;
|
|
|
|
(new Forking())->processWorkType('safe_' . $argv[1]);
|