Closed yingx9 closed 1 year ago
Update EditCommand to use ID instead of ISBN
Since ISBN may be a long identifier for users to type, switch to using ID and update EditCommandTests accordingly
Improve code quality by making happy path prominent, renaming class FormatMessage to MessageFormatter, to make code more readable
Extract methods related to formatting display resources to a class ResourceDisplayFormatter for OOP
Center-align headers for showResources
Nice!
Update EditCommand to use ID instead of ISBN
Since ISBN may be a long identifier for users to type, switch to using ID and update EditCommandTests accordingly
Improve code quality by making happy path prominent, renaming class FormatMessage to MessageFormatter, to make code more readable
Extract methods related to formatting display resources to a class ResourceDisplayFormatter for OOP
Center-align headers for showResources