Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [queue:*] Commands improvements. * [queue:*] Remove class property. * [queue:*] Fix indentation.
- Loading branch information
Showing
5 changed files
with
165 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
services: | ||
queue_debug: | ||
class: Drupal\Console\Command\Queue\DebugCommand | ||
tags: | ||
- { name: console.command } | ||
class: Drupal\Console\Command\Queue\DebugCommand | ||
tags: | ||
- { name: console.command } | ||
queue_run: | ||
class: Drupal\Console\Command\Queue\RunCommand | ||
tags: | ||
- { name: console.command } | ||
class: Drupal\Console\Command\Queue\RunCommand | ||
tags: | ||
- { name: console.command } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
description: 'Display the queues of your application' | ||
messages: | ||
queue: 'Queue' | ||
items: 'Items' | ||
class: 'Class' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
description: 'Process the selected queue' | ||
success: 'Processed %s: %s/%s items in %s sec' | ||
error: '%s failed: %s' | ||
description: 'Process the selected queue.' | ||
arguments: | ||
name: 'Queue name.' | ||
messages: | ||
success: 'Processed %s: %s/%s items in %s seconds.' | ||
failed: '%s failed: %s.' | ||
missing-name: 'Provide a valid queue name.' | ||
invalid-name: 'Invalid queue name "%s" provided.' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters