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 Zend Console tasks #2

Open
roelvanduijnhoven opened this issue May 22, 2013 · 5 comments
Open

Run Zend Console tasks #2

roelvanduijnhoven opened this issue May 22, 2013 · 5 comments

Comments

@roelvanduijnhoven
Copy link
Contributor

It would be nice if Zend Console tasks would still be runnable when using this new console.

That could for example be using a specific command that is used to run these tasks. E.g.
./console.php zf2 [zf2-registered-command]

Or maybe better integrated.

@Fraak, do you have any idea how hard it would be to implement either one of them. I would be willing to do some work.

@Fgruntjes
Copy link
Owner

Hi there,

Thank you for the tips on how to improve, its appreciated. I haven't had time to test it properly but I think this should work.

7c35558

@roelvanduijnhoven
Copy link
Contributor Author

Nice! Thanks for taking the time, this stuff comes in very handy.

I just tested it on our code-base and see some ways to improve this even further:

  • ./console.php zf2 should render the same stuff you see when you run the Zend console. Thus a listing of available commands.
  • This point is probably related: if you enter a command that does not exist ./console.php zf2 non existing then you get no error output. I guess ZF2 does this, but this content is not shown.

@roelvanduijnhoven
Copy link
Contributor Author

What do you think of the points I mentioned @Fraak? If they look promosing one of us could tackle them.

@Fgruntjes
Copy link
Owner

I am really sorry for my late response, the email about your last reaction was still in my inbox waiting to be handled but I have been verry verry bussy lateley and with the nice weather was not in the mood to work in the weekends ;).

I think you have some good points there. If you want you can change them and make a pull request, that would be great. Otherwise I will try to fix them asap but that could take another week or two.

@roelvanduijnhoven
Copy link
Contributor Author

Thanks!

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

2 participants