your-tools / pycp

cp and mv with a progress bar
MIT License
147 stars 8 forks source link

Colorization of output #16

Closed schvabodka-man closed 6 years ago

schvabodka-man commented 6 years ago

Are there any possibilities to add colorization to this tool? Everything is brilliant but absent of colorized stdout is real issue when copying/moving multiple files in bulk.

dmerejkowsky commented 6 years ago

Everything is brilliant

Thanks !

Are there any possibilities to add colorization to this tool?

Well, this may be a good opportunity to use python-cli-ui.

Somehow I feel I can trust its author

dmerejkowsky commented 6 years ago

Ask and you shall receive.

The pull request is a bit hard to review, sorry (lots of refactorings), but if you wanna give it a try, you're welcome.

If you want to skip the review, feel free to do so :). I'll merge it and publish a new release "soonish"

Cheers :)

schvabodka-man commented 6 years ago

I know shit about Python so i can't "review" it properly, sorry.

dmerejkowsky commented 6 years ago

no problem :)

dmerejkowsky commented 6 years ago

You can still give your opinion about what the colored output look like:

pycp-global-colors

schvabodka-man commented 6 years ago

Brown on dark background doesn't look very "eye friendly", but at all looks sweet

dmerejkowsky commented 6 years ago

Here you go:

pycp-yellow

schvabodka-man commented 6 years ago

That's a lot nicer

dmerejkowsky commented 6 years ago

Ok, the v.8 is out. But there are serious performance problems (sorry)

See #20 for the details.

May be best to wait for 8.1 ...