exp:services
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
Compile, list, show and check the kernel service container (verbs compile, list, show, check)
Usage
./console exp:services [options] php bin/php/services.php [options] ./console exp:services:compile [options] ./console exp:services:list [options] ./console exp:services:show [options] ./console exp:services:check [options]
Aliases
exp:services:compile, exp:services:list, exp:services:show, exp:services:check
Help
The output of ./console help exp:services (the script run with --help), without the standard options:
Usage: bin/php/services.php [OPTION]... [VERB] [ID] Exponential kernel services The service container of the kernel (settings/kernelservices.ini) and its compiled form (var/cache/kernelservices/). ./console exp:services:compile [--only=site,admin] ./console exp:services:list [--tag=<tag>] [-s <siteaccess>] ./console exp:services:show <id> [-s <siteaccess>] ./console exp:services:check Options: --json Print the result as JSON. --tag=VALUE list: only the services with this tag. --only=VALUE compile: only these siteaccesses (comma separated); the files of the others are kept.
Options
| Option | Value | Description |
|---|---|---|
| --json | - | Print the result as JSON. |
| --tag | required | list: only the services with this tag. |
| --only | required | compile: only these siteaccesses (comma separated); the files of the others are kept. |
Arguments
[verb][id]
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/services.php, kernel/private/classes/commands/services.php
See also
Generated example: exp:services
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment