Skip to content

refactor: Redirect all list printing to common utility

Kerri Miller requested to merge github/fork/pgollangi/rf-listprint into trunk

Created by: pgollangi

Define a common utility for list printing. And redirect all list printing to this to have control of printing lists at once place.

Description Having one utility to print lists on console is necessary to maintain consistent outputs across all commands. And easy to tryout and switch to better library to print lists. The utility "DisplayList" takes care of printing table along with empty messages and short description of the results.

How Has This Been Tested? Verified listing of all effected commands.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports