-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add MaxStorage field to output of "repo stat". #3915
Conversation
Note, with the current way formatting is done the output comes out as:
Due to this code:
should we perhaps not use tab in the output? Although removing the tab will make the output more difficult to parse. My vote would be to use:
With a colon after the field names. But maybe that is for another P.R. @whyrusleeping thoughts? |
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
5abc198
to
0f46a34
Compare
I prefer nicely formatted outputs. Parsing should be done on json output anyway... Also, code looks good to me. |
@kevina you could use a tabwriter (from the stdlib) That is fine with me |
@whyrusleeping okay I will do that, and also add a colon after the fields names as that makes reading it easier. Sound good? |
Sounds good to me! |
License: MIT Signed-off-by: Kevin Atkinson <k@kevina.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #3836.