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

Run flow commands from plugin #70

Open
PRGfx opened this issue Jun 14, 2021 · 0 comments
Open

Run flow commands from plugin #70

PRGfx opened this issue Jun 14, 2021 · 0 comments

Comments

@PRGfx
Copy link
Contributor

PRGfx commented Jun 14, 2021

I was thinking about having an infrastructure for executing flow commands to provide an action via the actions menu or line markers (i.e. for .*CommandController->.*Command methods or up and down in node-migrations).
I'm not quite sure if it would be possible to leverage the run/debug configurations (i.e. require the user to set up a run-configuration fitting for the project and then select this configuration in the plugin settings) in a way that actions could add parameters.
The more simple setup would probably be setting a working directory (defaulting to the project directory) and the script name (which could either be something like flow/flow.bat or a custom command to interface maybe with docker, like ddev exec ./flow).

But maybe most people have different approaches already working well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants