Output cli colours in custom action

Hi,

I have been using git-up through commandline for a while now and decided to make a custom action for it in Sourcetree. Love the possibility to do this however the output does not give cli colours.

I don't mind that there are no colours, but the output is a bit off this way:

Fetching origin

[1mdevelop [0m[32mup to date[0m

master [32mup to date[0m

while in cli it looks like:

Fetching origin

develop up to date

master up to date

Is there a way to either process this output to make use of available colours in the sourcetree window, or could these standard CLI colours be incorporated into the output?

Even better, I don't know if this is a feature request yet, but git-up is very handy to rebase all remote branches at once, I think it would be ideal as a feature for sourcetree.

Thanks in advance, love the product!

1 answer

1 accepted

I don't think there is a way to enable color support (or even color ignore).

Sounds like you have two good feature requests. Create them at jira.atlassian.comand post links here so others can find them and vote them up.

Thanks for the suggestion of creating issues. I have done so:

- Formatted CLI output support (https://jira.atlassian.com/browse/SRCTREE-2583)

- Rebase all branches at once (https://jira.atlassian.com/browse/SRCTREE-2581)

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot