forked from Trip09/wp-console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
services-core.yml
80 lines (79 loc) · 2.9 KB
/
services-core.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
services:
# WordpressConsole Commands
console.about:
class: WP\Console\Command\AboutCommand
arguments: ['@console.site']
tags:
- { name: wordpress.command }
console.list:
class: WP\Console\Core\Command\ListCommand
tags:
- { name: wordpress.command }
console.help:
class: WP\Console\Core\Command\HelpCommand
tags:
- { name: wordpress.command }
console.init:
class: WP\Console\Core\Command\InitCommand
arguments: ['@console.show_file', '@console.configuration_manager', '@console.init_generator', '@app.root', '@?console.root']
tags:
- { name: wordpress.command }
console.settings_set:
class: WP\Console\Core\Command\Settings\SetCommand
arguments: ['@console.configuration_manager', '@console.nested_array']
tags:
- { name: wordpress.command }
console.database_create:
class: WP\Console\Command\Database\CreateCommand
arguments: ['@console.site', '@app.root']
tags:
- { name: wordpress.command }
# Installer services
console.chain_queue:
class: WP\Console\Core\Utils\ChainQueue
console.chain_discovery:
class: WP\Console\Core\Utils\ChainDiscovery
arguments: ['@app.root', '@console.configuration_manager', '@console.message_manager', '@console.translator_manager']
console.configuration_manager:
class: WP\Console\Core\Utils\ConfigurationManager
console.renderer:
class: WP\Console\Core\Utils\TwigRenderer
arguments: ['@console.translator_manager', '@console.string_converter']
console.nested_array:
class: WP\Console\Core\Utils\NestedArray
console.show_file:
class: WP\Console\Core\Utils\ShowFile
arguments: ['@app.root', '@console.translator_manager']
console.string_converter:
class: WP\Console\Core\Utils\StringConverter
console.translator_manager:
class: WP\Console\Utils\TranslatorManager
arguments: ['@console.extension_manager']
console.site:
class: WP\Console\Utils\Site
arguments: ['@app.root', '@http_client']
console.extension_manager:
class: WP\Console\Extension\Manager
arguments: ['@console.site', '@app.root']
console.annotation_command_reader:
class: WP\Console\Annotations\WPCommandAnnotationReader
console.annotation_validator:
class: WP\Console\Utils\AnnotationValidator
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
console.file_queue:
class: WP\Console\Core\Utils\FileQueue
# WordpressConsoleCore Generators
console.init_generator:
class: WP\Console\Core\Generator\InitGenerator
arguments: ['@console.configuration_manager']
tags:
- { name: wordpress.generator }