Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Commit

Permalink
Make commands lazy loadable
Browse files Browse the repository at this point in the history
  • Loading branch information
DZunke committed Oct 24, 2017
1 parent 8ceaa57 commit 2c760a6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,25 @@ services:

DZunke\SlackBundle\Command\BotMessagingCommand:
arguments: ["@dz.slack.channels", "@event_dispatcher"]
tags: ['console.command']
tags:
- { name: console.command, command: slack:run-bot }

DZunke\SlackBundle\Command\ChangeChannelsTopicCommand:
arguments: ["@dz.slack.channels"]
tags: ['console.command']
tags:
- { name: console.command, command: slack:channels:topic }

DZunke\SlackBundle\Command\DebugCommand:
arguments: ["@dz.slack.client"]
tags: ['console.command']
tags:
- { name: console.command, command: slack:debug }

DZunke\SlackBundle\Command\MessageCommand:
arguments: ["@dz.slack.messaging"]
tags: ['console.command']
tags:
- { name: console.command, command: slack:message }

DZunke\SlackBundle\Command\UsersCommand:
arguments: ["@dz.slack.users"]
tags: ['console.command']
tags:
- { name: console.command, command: slack:users }

0 comments on commit 2c760a6

Please sign in to comment.