Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Better formatting of inventory listing. #16

Closed
coreyhahn opened this issue Aug 31, 2012 · 9 comments
Closed

Better formatting of inventory listing. #16

coreyhahn opened this issue Aug 31, 2012 · 9 comments
Assignees
Milestone

Comments

@coreyhahn
Copy link

Can their be better display of the data that comes back form list inventory?

@MoriTanosuke
Copy link
Owner

Do you have a suggestion how it should look like?

@coreyhahn
Copy link
Author

With and without hash data?

@MoriTanosuke
Copy link
Owner

I think I need some input to do a good output, because I'm perfectly fine with reading JSON... I gave it a try and this is what I came up with:

ARN:            arn:aws:glacier:eu-west-1:968744042024:vaults/mytestbackup
Archive ID:     sdflkjASFZHDFJNSDFHLSDKFJKSDHFSD_FISJKDNFKjksdgfaksdjfbnui23t476tjasdfb8i273zrKJSHDF
CreationDate:   2012-08-23T04:14:56Z
Description:    a very nice descriptive string that I put here
Size:           117.74
SHA:            fa5c927bfb8378ff36e0b11a0066d8e8287787f1858366d351f550bc673bfb97

The size will be human readable like 12.34GB or 123.4kB. What do you think?

@coreyhahn
Copy link
Author

IMO, that looks great

@ghost ghost assigned MoriTanosuke Sep 2, 2012
@ldrolez
Copy link

ldrolez commented Sep 4, 2012

Size in bytes would be nice also (for checks)

@MoriTanosuke
Copy link
Owner

Ok, I'll change the format to print the size in bytes and add the human readable size after that.

@MoriTanosuke
Copy link
Owner

Oops, accidentally close this by messing up a commit message. :-/

@MoriTanosuke MoriTanosuke reopened this Sep 20, 2012
@nitriques
Copy link
Contributor

This is already present in 0.0.7 and can be closed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants