Long-term I think it might be worth refactoring the code to pass all of the potential outputs through a unified format_output() method that would return a perfectly formatted string.
The roadblock to this is largely that different output commands display different amounts of data. I think this could be circumvented with some clever iterating though.
Long-term I think it might be worth refactoring the code to pass all of the potential outputs through a unified format_output() method that would return a perfectly formatted string. The roadblock to this is largely that different output commands display different amounts of data. I think this could be circumvented with some clever iterating though.