Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Output cli colours in custom action

S Alers July 21, 2014

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

1 vote
Answer accepted
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 21, 2014

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.

S Alers July 21, 2014

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 Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events