✨ Add priority to get:show command
This commit is contained in:
parent
61f9cfb009
commit
ff3eefcb26
2 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class GetShow extends Command
|
||||||
'{--u|url= : URL to download} ' .
|
'{--u|url= : URL to download} ' .
|
||||||
'{--d|destination= : Directory of show} ' .
|
'{--d|destination= : Directory of show} ' .
|
||||||
'{--t|title= : The title of the episode} ' .
|
'{--t|title= : The title of the episode} ' .
|
||||||
'{--l|low : Put on low priority queue}' .
|
'{--p|priority= : Specify priority of job}' .
|
||||||
'{--s|sync : Run synchronously}'
|
'{--s|sync : Run synchronously}'
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ class InputData extends Data
|
||||||
public ?string $destination = null;
|
public ?string $destination = null;
|
||||||
public ?string $title = null;
|
public ?string $title = null;
|
||||||
public bool $sync = false;
|
public bool $sync = false;
|
||||||
|
public ?int $priority = null;
|
||||||
|
|
||||||
public function assertValid(): self
|
public function assertValid(): self
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue