Added a verbose mode -v that translates the issue and expiration dates of the certificate from Unix timestamp to UTC in the format YYYY-MM-DD HH:MM:SS.
The verbose mode also decodes the json values for:
Disease agent targeted
Vaccine prophylaxis
Vaccine medicinal product
Vaccine manufacturer
Test type
Test manufacturer
Test result
Although it shows the original encoded value too.
In general, it gives more information to the reader in a more structured way.
Code Structure
I didn't want to modify the original structure of the code, so I just added the new functionality at the end of the file while preserving the original organization and functionality.
Changes
Added a verbose mode
-v
that translates the issue and expiration dates of the certificate from Unix timestamp to UTC in the formatYYYY-MM-DD HH:MM:SS
.The verbose mode also decodes the json values for:
Although it shows the original encoded value too.
In general, it gives more information to the reader in a more structured way.
Code Structure
I didn't want to modify the original structure of the code, so I just added the new functionality at the end of the file while preserving the original organization and functionality.