taskphp / task

Pure PHP task runner
MIT License
183 stars 15 forks source link

Question: Remote SSH tasks #8

Closed richardbporter closed 9 years ago

richardbporter commented 9 years ago

Hi - I'm looking at a few different PHP task runners right now: bldr, robo, Rocketeer - Are there plans for TaskPHP to include a remote SSH command task? Or maybe I overlooked something, Is this possible right now?

Thanks!

mbfisher commented 9 years ago

Hi!

There isn't a remote command plugin in the Task vendor namespace, and to my knowledge there aren't any third party implementations.

However, plugins are just PHP code so if you know of a library which can execute SSH commands it would be trivial to include it in your tasks.

I've been asked about remote command plugins a few times now, should probably be next on the list!

M

richardbporter commented 9 years ago

Cool, gotcha. I was looking at https://github.com/Herzult/php-ssh as a possibility.

Anyway, thanks again.