mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
53 lines
2.1 KiB
JSON
53 lines
2.1 KiB
JSON
{
|
|
"manifests": {
|
|
"survos/command-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Survos\\CommandBundle\\SurvosCommandBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"post-install-output": [
|
|
"<bg=green;fg=white> </>",
|
|
"<bg=green;fg=white> success </>",
|
|
"<bg=green;fg=white> </>",
|
|
"",
|
|
" * <fg=yellow>Next steps:</>",
|
|
" 1. Configure config/packages/survos_command.yaml to expose the namespaces (command prefixes)",
|
|
" 2. <comment>Secure the /admin route, customize the route in config/routes/survos_command.yaml</>",
|
|
" 3. optionally create a command with bin/console make:command app:do-something",
|
|
" 4. symfony open:local --path=/admin/commands/list"
|
|
]
|
|
},
|
|
"files": {
|
|
"config/packages/survos_command.yaml": {
|
|
"contents": [
|
|
"survos_command:",
|
|
" # expose app:my-command, etc.",
|
|
" namespaces: [app]",
|
|
"",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/survos_command.yaml": {
|
|
"contents": [
|
|
"survos_command:",
|
|
" prefix: /admin/commands",
|
|
" type: attribute",
|
|
" resource:",
|
|
" path: '@SurvosCommandBundle/src/Controller/'",
|
|
" namespace: Survos\\CommandBundle\\Controller",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "2ae59ea83b8aeb1c288a149af0f594ee9ff52524"
|
|
}
|
|
}
|
|
}
|