From ff3eefcb268d651f0137fefa0f0dc8266b9f258f Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Sat, 20 Aug 2022 22:51:12 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20priority=20to=20get:show=20co?= =?UTF-8?q?mmand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Commands/GetShow.php | 2 +- app/Data/InputData.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Commands/GetShow.php b/app/Commands/GetShow.php index 343c3fd..5686899 100644 --- a/app/Commands/GetShow.php +++ b/app/Commands/GetShow.php @@ -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}' ; diff --git a/app/Data/InputData.php b/app/Data/InputData.php index fc4a5b8..b162ca8 100644 --- a/app/Data/InputData.php +++ b/app/Data/InputData.php @@ -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 {