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

Devise a way to allow services to provide commands. #26

Open
jonpugh opened this issue Jan 29, 2018 · 1 comment
Open

Devise a way to allow services to provide commands. #26

jonpugh opened this issue Jan 29, 2018 · 1 comment

Comments

@jonpugh
Copy link
Member

jonpugh commented Jan 29, 2018

For example, docker web server needs commands to destroy or restart services.

Perhaps we can take inspiration from drush and drush command discovery?

jonpugh added a commit that referenced this issue Mar 26, 2018
…ush and provision 3.x.

- Use this new ability to pre-load the context to pre-load Robo Command files from services! Issue #26
- Add docker:command, docker:logs, and docker:shell commands to Contexts that are using Docker.
@jonpugh
Copy link
Member Author

jonpugh commented Mar 27, 2018

This is working now. Service methods just have to implement getCommandClasses() method.

Docs pending.

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

1 participant