Skip to content

Commit

Permalink
add size and checksum fields to task show --successful-transfers (#1052)
Browse files Browse the repository at this point in the history
* 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 <derek@globus.org>
  • Loading branch information
pjhinton-globus and derek-globus authored Nov 8, 2024
1 parent 2f5d636 commit 27b3a64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

### Enhancements

* Added `Size`, `Checksum`, and `Checksum Algorithm` to `globus task show --successful-transfers` output.
3 changes: 3 additions & 0 deletions src/globus_cli/commands/task/show.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 27b3a64

Please sign in to comment.