Adding message if queue is empty

This commit is contained in:
ilumos 2017-09-07 21:16:30 +01:00
parent bc8ded5a9f
commit 964712ada7

View file

@ -42,6 +42,10 @@ class ShowQueue extends Command
die();
}
if( ! SteamQueueItem::count()) {
$this->info('Steam queue is empty');
}
// If a status is specified, display only apps of that status
if ($this->argument('status')) {
$this->displayAppsWithStatus($this->argument('status'));