Open athena-metis opened 4 years ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
The usual command flag would be -h to make it human readable but as this is already the default behaviour implementing it in this way would require a change to existing functionality that others may rely on. This change is to add a slightly less conventional switch to allow the output to be more friendly to integrating with scripts.
The change allows for a -m / --machine flag for rev/search/ls commands which will output the file size in bytes and the date in a standard format rather than "X hours ago" etc. This allows for use in scripts where you want to compare a file size or check the modified date (separate PR for maintaining this when uploading via the put command)
The -m / --machine switch implies -l / --long as the standard ls output doesn't include any humanised information anyway.
Existing long output