vcspull icon indicating copy to clipboard operation
vcspull copied to clipboard

Idea: `$ vcspull sync`: Silent by default?

Open tony opened this issue 3 years ago • 3 comments

Re: Assume #388 fixed

$ vcspull sync
$ vcspull sync
$ vcspull sync repo1 repo2

For the existing behavior, pass something like -v or --progress

vcspull sync repo1 repo1 --progress

tony avatar Sep 25 '22 18:09 tony

Could be nice. maybe also add different levels of verbosity? like on default nothing, then on the next levels only print the repo name it is syncing and on the full debug level add also the git outputs or something?

And maybe also an option to see some kind of progress bar? like which repo out of how many is syncing at the moment?

Segaja avatar Sep 25 '22 18:09 Segaja

Could be nice. maybe also add different levels of verbosity? like on default nothing, then on the next levels only print the repo name it is syncing and on the full debug level add also the git outputs or something?

Also yes.

And maybe also an option to see some kind of progress bar? like which repo out of how many is syncing at the moment?

Yes

P.S. I'm considering dropping click in favor of standard library argparse due to the amount of magic it introduces, bugs, etc. I'm having a hard time understanding the codepath when click is involved, as opposed to argparse, where it's very transparent

tony avatar Sep 25 '22 20:09 tony

i have seen argparse in other python projects. It seems straight forward and easy to understand. I never heard click before this project.

Segaja avatar Sep 25 '22 20:09 Segaja