Skip to content

Commit

Permalink
register console command in compatible way
Browse files Browse the repository at this point in the history
  • Loading branch information
keywan-ghadami-oxid committed Nov 26, 2018
1 parent 05cfea3 commit 3ef5180
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ composer require oxid-community/moduleinternals

## Changelog

* 2018-11-23 1.4.1 add compatibbility code for oxrun
* 2018-11-23 1.4.2 fix compatibility with console applications by supporting new command registration via services.yml
* 2018-11-23 1.4.1 add compatibility code for oxrun
* 2018-11-22 1.4.0 improve performance, added module:fix console command, fixed module controller check
* 2018-11-21 1.3.0 Show blocks, case sensitive file exist checks, support legacy class names, warn when extending edition namespace, highlight modules with issues.
* 2018-11-21 1.2.2 fix fixing extensions
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"extra": {
"oxideshop": {
"target-directory": "oxcom/moduleinternals",
"comment-console-commands": "warning the following line is deprecated and will be removed",
"console-commands" : ["OxidCommunity\\ModuleInternals\\Command\\ModuleFixCommand"]
}
},
Expand Down
5 changes: 5 additions & 0 deletions services.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
services:
oxid_community.moduleinternals.module.fix.command:
class: OxidCommunity\ModuleInternals\Command\ModuleFixCommand
tags:
- { name: 'console.command' }

0 comments on commit 3ef5180

Please sign in to comment.