From 27b3a64055e0cc9581799f5e92e5176c7993954e Mon Sep 17 00:00:00 2001 From: pjhinton-globus <124405961+pjhinton-globus@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:22:54 -0500 Subject: [PATCH] add size and checksum fields to task show --successful-transfers (#1052) * add size and checksum fields to task show --successful-transfers Add the following fields to the tabular output of globus task show --successful-transfers * size * checksum_algorithm * checksum --------- Co-authored-by: Derek Schlabach --- ...k_sc_27244_checksum_and_size_successful_transfer_fields.md | 4 ++++ src/globus_cli/commands/task/show.py | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 changelog.d/20241108_100250_derek_sc_27244_checksum_and_size_successful_transfer_fields.md diff --git a/changelog.d/20241108_100250_derek_sc_27244_checksum_and_size_successful_transfer_fields.md b/changelog.d/20241108_100250_derek_sc_27244_checksum_and_size_successful_transfer_fields.md new file mode 100644 index 000000000..f4ff68e23 --- /dev/null +++ b/changelog.d/20241108_100250_derek_sc_27244_checksum_and_size_successful_transfer_fields.md @@ -0,0 +1,4 @@ + +### Enhancements + +* Added `Size`, `Checksum`, and `Checksum Algorithm` to `globus task show --successful-transfers` output. diff --git a/src/globus_cli/commands/task/show.py b/src/globus_cli/commands/task/show.py index 382db79cf..489f9789f 100644 --- a/src/globus_cli/commands/task/show.py +++ b/src/globus_cli/commands/task/show.py @@ -53,6 +53,9 @@ SUCCESSFULL_TRANSFER_FIELDS = [ Field("Source Path", "source_path"), Field("Destination Path", "destination_path"), + Field("Size", "size"), + Field("Checksum Algorithm", "checksum_algorithm"), + Field("Checksum", "checksum"), ] SKIPPED_PATHS_FIELDS = [