Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use tabwriter in favour of tablewriter #809

Merged
merged 1 commit into from
Jul 8, 2016

Conversation

endophage
Copy link
Contributor

@endophage endophage commented Jun 30, 2016

Closes #805

The formatting isn't 100% identical but it's very close and it still looks good. I had to do some manual formatting for the role printing where tablewriter handled multi-line rows cleanly. Overall though I think this is a good tradeoff for the removal of the dependency.

No rush to merge this. Happy to leave it open for a while and see how people feel.

Signed-off-by: David Lawrence <[email protected]> (github: endophage)
@riyazdf
Copy link
Contributor

riyazdf commented Jun 30, 2016

this is awesome! I'm still digging into the delegation prints for multiple keys/paths but here are some screenshots for the interested. Main difference is the underlining at the top of the table is slightly different (which is fine with me):

notary list docker.io/library/ubuntu
screen shot 2016-06-30 at 11 44 25 am

notary key list
screen shot 2016-06-30 at 11 45 16 am

@riyazdf
Copy link
Contributor

riyazdf commented Jul 5, 2016

LGTM! Tested with multiple delegation keys and paths, looks good!

screen shot 2016-07-05 at 9 23 21 am

@cyli
Copy link
Contributor

cyli commented Jul 8, 2016

Awesome, LGTM! Thanks for all the screenshots @riyazdf!

@cyli cyli merged commit f977626 into notaryproject:master Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate if text/tabwriter is a sufficient substitute for tablewriter
4 participants