vapor / queues

A queue system for Vapor.
MIT License
169 stars 41 forks source link

extend command configuration in provider #23

Closed tanner0101 closed 5 years ago

tanner0101 commented 5 years ago

We should automatically add the jobs command in the JobsProvider now that this is possible in Vapor 4.

services.extend(CommandConfiguration.self) { configuration, container in
    try configuration.use(c.make(JobsCommand.self), as: "jobs")
}