Skip to content

Commit

Permalink
[console] Move getData to core application (#48)
Browse files Browse the repository at this point in the history
* [console] Move getData to core application

* [console] Update mappings file
  • Loading branch information
hjuarez20 authored and enzolutions committed Jun 20, 2018
1 parent 0ba2bf2 commit e4f8ed7
Show file tree
Hide file tree
Showing 11 changed files with 1,028 additions and 446 deletions.
12 changes: 12 additions & 0 deletions config/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
application:
statistics:
enabled: false
last-attempted: ~
times-attempted: 0
language: 'en'
commands:
aliases: ~
defaults: ~
mappings: ~
languages:
en: 'English'
11 changes: 11 additions & 0 deletions config/mappings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
mappings:
chain:debug: debug:chain
config:debug: debug:config
container:debug: debug:container
plugin:debug: debug:module
multisite:debug: debug:multisite
router:debug: debug:router
settings:debug: debug:settings
site:debug: debug:site
theme:debug: debug:theme
user:debug: debug:user
4 changes: 4 additions & 0 deletions services-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ services:
arguments: ['@console.annotation_command_reader', '@console.extension_manager']
console.count_code_lines:
class: WP\Console\Core\Utils\CountCodeLines
console.message_manager:
class: WP\Console\Core\Utils\MessageManager
console.key_value_storage:
class: WP\Console\Core\Utils\KeyValueStorage
# WodpressConsole Services
http_client:
class: GuzzleHttp\Client
Expand Down
Loading

0 comments on commit e4f8ed7

Please sign in to comment.