pocketarc / git-deploy-php

git-deploy-php is a simple php-based tool that deploys your Git repositories to FTP/SFTP servers, and keeps them updated automatically.
http://brunodebarros.github.io/git-deploy-php
292 stars 45 forks source link

Add colours to logMessages in console? #77

Open soulrelic616 opened 7 years ago

soulrelic616 commented 7 years ago

Hello,

First off, thanks so much for your work on this useful feature - i have used it in a couple of sites without any problems.

I'm making this post not to point any issues but to suggest a very slight improvement to the console logging messages when uploading files to the server.

Would it be possible to output colored messages to the console so we know if everything has gone ok or failed easily?

Perhaps adding green to the 'Uploaded' messages and red do the 'Error' ones,

Connected and disconnected could be Cyan and Orange respectively.

I know is a very minor improvement but could be useful to people keeping an eye on the console whilst projects get deployed.

Many thanks, Bernardo.

pocketarc commented 7 years ago

That absolutely makes sense, and is something I've been wanting to integrate into git-deploy for a while. Check out CLImate, it's exactly what we need here.

I'm looking to spend some time in the coming weeks working on some improvements to git-deploy, including this and a config option to run webhooks, so that you can do things like send messages to Slack or run post-deploy scripts. That'd be quite nice.

EDIT: Colours in CLImate

soulrelic616 commented 7 years ago

That's a nice library! Never seen it before!

Thanks for responding, I'll keep an eye out for the updates and I'll test as soon as you release them :)

agung-wete commented 6 years ago

any news on this ?