You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please describe the feature
As a user/admin, I want to have a consistent format for the messages that the cli returns so that I know how to evaluate them/know what to expect when I embed the tool in scripts etc.
Example discrepancy:
./sda-cli decrypt -key alex.sec.pem b/*
✔ Enter password to unlock private key:
Decrypting file 1/6: b/file-list-1.c4gh
Warning: file b/file-list-2 is already decrypted, skipping
Warning: file b/file-list-2 is already decrypted, skipping
Decrypting file 4/6: b/file-list-3.c4gh
Warning: file b/file-list-4 is already decrypted, skipping
Warning: file b/file-list-4 is already decrypted, skipping
nanjiangshu
changed the title
Make logging uniform across different commands
Make consistent warning/error output across different commands
Sep 30, 2024
Please describe the feature
As a user/admin, I want to have a consistent format for the messages that the cli returns so that I know how to evaluate them/know what to expect when I embed the tool in scripts etc.
Example discrepancy:
VS
Acceptance criteria
fmt.Error, fmt.Print and log.Error
).Additional note
Remember to solve this comment: #451 (comment)
Decide a way in which order the warning/error message should be output
Estimation of size: medium
Estimation of priority: low
The text was updated successfully, but these errors were encountered: