dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 100 forks source link

Better output for ls #78

Closed mikaelmantel closed 7 years ago

mikaelmantel commented 7 years ago

Hello,

When i use ls for listing all my files in a directory, the output is very strange :

capture d ecran 2017-09-08 a 09 31 07

why the amount of whitespace is not fix ? or just use tabs ?

Thank you

diwakergupta commented 7 years ago

@mikaelmantel yes, it's not ideal. We do use tabs, but the output can still be warped depending on the size of your screen / terminal. We used to have better formatting in the past, but there were some platform specific dependencies that made the binaries fail on windows, so I had to trade-off formatting for more platform support.

If you do ls -l you should slightly better output. Meanwhile, suggestions / PRs are welcome!

mikaelmantel commented 7 years ago

Ok, i didn't know ! Thank you, i succeeded to parse with ls -l .