Actions
Refactor #2845
closedCommand's output definition shouldn't use formatting functions
Description
Formatting functions should be replaced with field type. The function spoils field's information forever. Eg. once datetime is formatted it can't be printed in different format. More flexible approach would be to set field type (to DateTimeField ind this case) and move the formatting logic to output adapters. The adapter then decides how it shoud be formatted. Eg. Json adapter prints more structured info vs. Table adapter tends to shorten things.
Updated by Martin Bacovsky over 11 years ago
- Project changed from Hammer CLI to Foreman
- Category changed from Hammer core to 44
Updated by Tomáš Strachota over 11 years ago
- Status changed from New to Assigned
Updated by Tomáš Strachota over 11 years ago
- Status changed from Assigned to Closed
Updated by Dominic Cleal over 11 years ago
- Project changed from Foreman to Hammer CLI
- Category deleted (
44)
Actions