Hey @TylerBrock, this PR contains some refactoring (but no functional changes) to the way database and collection names are colorized for the various show and count shell commands... as a consequence of this refactoring, the printPaddedColumns() function is simplified, as it no longer needs to concern itself with coloring any of its columns... this refactoring is prep-work for enabling the printPaddedColumns() function to print out multiple columns (instead of just printing out two, as it currently does).
Basically it's a bit of refactoring to enable the multi-column output/formatting we need for #148
Hey @TylerBrock, this PR contains some refactoring (but no functional changes) to the way database and collection names are colorized for the various
show
andcount
shell commands... as a consequence of this refactoring, theprintPaddedColumns()
function is simplified, as it no longer needs to concern itself with coloring any of its columns... this refactoring is prep-work for enabling theprintPaddedColumns()
function to print out multiple columns (instead of just printing out two, as it currently does).Basically it's a bit of refactoring to enable the multi-column output/formatting we need for #148