Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[command-bundle] set options based on querystring #30

Open
tacman opened this issue Dec 23, 2023 · 0 comments
Open

[command-bundle] set options based on querystring #30

tacman opened this issue Dec 23, 2023 · 0 comments

Comments

@tacman
Copy link
Collaborator

tacman commented Dec 23, 2023

arguments can be set from a url params:

https://ff.wip/admin/run-command/grid:index?class=App\\Entity\\Article

We should support boolean options as well, so that values can be prefilled:

https://ff.wip/admin/run-command/grid:index?class=App\\Entity\\Article&reset=true

If the subdomain option is set, that should be treated as if it were passed in a a query parameter:

https://song.kpa.wip
https://kpa.wip?type=song

should be the same if it's configued

survos_command:
    subdomain_variable: type

Finally, we should implement running the command in the messenger.

https://symfony.com/blog/new-in-symfony-6-4-more-built-in-message-handlers#run-command-handler

tacman added a commit that referenced this issue Dec 23, 2023
kailashkds added a commit that referenced this issue Dec 24, 2023
* 'tac' of github.com:survos/survos:
  delete vendor dirs
  fix dipatch
  replace dry-run with via messengar, #30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant