mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-16 01:26:27 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"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. bin/console 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": "f643d7e1b4091191a9ff4ad145bd29293f3d2823"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -17,8 +17,9 @@
|
||||
"",
|
||||
" * <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. Visit <href=/admin/commmands>/admin/commands</>."
|
||||
" 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. bin/console open:local --path=/admin/commands/list"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
@@ -45,7 +46,7 @@
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "5cdebe13850442f53dae9a5e33aeada55a22e606"
|
||||
"ref": "f643d7e1b4091191a9ff4ad145bd29293f3d2823"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user