donnemartin / gitsome

A supercharged Git/GitHub command line interface (CLI). An official integration for GitHub and GitHub Enterprise: https://github.com/works-with/category/desktop-tools
Other
7.56k stars 438 forks source link

Configurable prompt #131

Open hanfried opened 6 years ago

hanfried commented 6 years ago

Implementation for https://github.com/donnemartin/gitsome/issues/65

A very simple solution following the style as already loading the colors and saving prompt configuration also to .gitsomeconfig There isn't further documentation or error checking for what all the prompt options are, but it should easy now to adapt the default colors to a light color scheme what was my motiviation (replacing WHITE with BLACK here does it for me now).

codecov-io commented 6 years ago

Codecov Report

Merging #131 into master will increase coverage by 0.05%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
+ Coverage   79.31%   79.36%   +0.05%     
==========================================
  Files          36       36              
  Lines        2813     2820       +7     
==========================================
+ Hits         2231     2238       +7     
  Misses        582      582
hanfried commented 2 years ago

I resolved the existing merge conflicts (the DEFAULT_TITLE changed over time that this PR is open :-o) and should be mergeable now :-)

Jimimaku commented 1 year ago

Implementierung für#65

Eine sehr einfache Lösung, die dem Stil folgt, da bereits die Farben geladen und die Eingabeaufforderung auch in .gitsomeconfig gespeichertwird Es gibt keine weitere Dokumentation oder Fehlerüberprüfung für alle Eingabeaufforderungsoptionen, aber es sollte jetzt einfach sein, die Standardfarben an ein helles Farbschema anzupassen, was meine Motivation war (WEISS durch SCHWARZ hier zu ersetzen, tut es jetzt für mich).