Enable nodelist import test mode

This commit is contained in:
2023-09-07 12:24:01 +10:00
parent 7b39dafd12
commit 6d199345ac
2 changed files with 57 additions and 33 deletions

View File

@@ -18,7 +18,8 @@ class NodelistImport extends Command
.' {file : File ID | filename}'
.' {domain? : Domain Name}'
.' {--D|delete : Delete old data for the date}'
.' {--U|unlink : Delete file after import}';
.' {--U|unlink : Delete file after import}'
.' {--T|test : Dry run}';
/**
* The console command description.
@@ -38,7 +39,8 @@ class NodelistImport extends Command
is_numeric($x=$this->argument('file')) ? File::findOrFail($x) : $x,
$this->argument('domain'),
$this->option('delete'),
$this->option('unlink')
$this->option('unlink'),
$this->option('test')
);
}
}