Add priority to get:show command

This commit is contained in:
Dan Jones 2022-08-20 22:51:12 -05:00
commit ff3eefcb26
2 changed files with 2 additions and 1 deletions

View file

@ -14,7 +14,7 @@ class GetShow extends Command
'{--u|url= : URL to download} ' .
'{--d|destination= : Directory of show} ' .
'{--t|title= : The title of the episode} ' .
'{--l|low : Put on low priority queue}' .
'{--p|priority= : Specify priority of job}' .
'{--s|sync : Run synchronously}'
;

View file

@ -18,6 +18,7 @@ class InputData extends Data
public ?string $destination = null;
public ?string $title = null;
public bool $sync = false;
public ?int $priority = null;
public function assertValid(): self
{