Closed chshersh closed 4 years ago
Hey,
Is this blocked by #4 or can it be worked on separately since it's a dry version? Thanks for the quick creation of issues to be worked on!
@Nimor111, no, this is not blocked by #4. This IO function can be implemented separately, tested in GHCi and then later there will be something like:
main = readCliArguments >>= \case
Sync ... -> ...
that connects both #4 and all other implemented functions.
Great, i'd like to give it a go then.
Hey, just an update. I'm working on this, but i've been really busy at work so there hasn't been much progress, I hope to finish it soon. Sorry for the delay.
It should go in the
Croco.Command.Sync
module. And this should do the following:Since this command is a bit dangerous, this issue is only about
dry
implementation of this function. This means, that it should only print to terminal (ideally in a pretty way) a list of repositories which will be updated. Ideally I expect pretty colourful output in the following way:Where
<color></color>
is my pseudocode for colors. See the following for example of using colors: