-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Tooling: Allow Chaining of Custom Tooling Commands #31
Comments
I'm not against this feature but i will note that this likely would be very difficult to implement and i personally do not have the bandwidth to do it |
+1 on this feature request. I would like to be able to have this feature too. |
+1 from me too. I have similar situation with regards to repetition. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues. |
This would help a lot to simplify things, also when you have a tool with a long list of commands and one of the commands needs a different user, then you could have another tool with that user and just reference to it. |
I agree with what has already been said. I'm currently working on a large Drupal project with several separate databases and Git projects, being able to chain Lando's tooling commands would make my job much easier. Do we have any idea how to implement this feature? |
Yup, we could also use this as a workaround for lando/docs#47. |
That would be great! |
I would like this ability! |
moving this ticket to the https://github.com/lando/core-next repo since it will be addressed in Lando 4 |
@pirog The use case is quite significant: having a "build" or "full-build" command defined that would use other existing tooling commands so that devs could have a single command to get from "0 to 100". In other non-lando projects, we are using Ahoy and Task that do allow these things. Is it possible to develop this and bring it to v3 of Lando if this is a sponsored work?
|
@AlexSkrypnyk drop me a line in the Lando Slack (https://www.launchpass.com/devwithlando) or talk to @AaronFeledy on the Drupal Slack (sounds like you've already reached out there). |
Calling tools from events should be part of the fix also since the issue about that lando/lando#751 has been closed as a duplicate of this issue. |
As a Lando user who frequently builds custom tooling to execute common tasks, I find that some of those tasks get repeated within more than one command.
For example:
So much repetition there.
Lando can help solve this problem by allowing the chaining of tooling commands from within the command definition. More simply, this means allowing one Lando command to call another. In a perfect world, this would work, not only for custom tooling commands, but built-in tooling and build steps as well. This would allow reduced duplication of commands and the above functionality could be defined more like this:
The text was updated successfully, but these errors were encountered: