Description of problem: "With the default "table" output format, the "hammer" CLI has an unsavory habit of truncating output when the strings for fields exceed a certain length, especially when the output is multi-line (for example the "Description" field of a Host Collection). It would be nice if there was a command-line switch to turn that habit off." This seems to be addressed upstream in: http://projects.theforeman.org/issues/4384 Version-Release number of selected component (if applicable): 6.2.7 How reproducible: Always Steps to Reproduce: 1. hammer --output table host-collection list --org <org name> 2. 3. Actual results: Table output is truncated Expected results: Ability to set a higher table column width to at least 100 Additional info:
There's currently no way to do this. The linked upstream issue improved the situation so that some fields are longer if necessary, but it does not solve this request to completely disable truncation. We could introduce some --dont-truncate parameter to hammer that would disable truncation. That could be good improvement for huge terminals. If user wants to get the full data (e.g. description) for for further processing they can use json/yaml formats do not truncate strings.
Created redmine issue http://projects.theforeman.org/issues/20044 from this bug
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Rich Jerrido or Bryan Kearney. Thank you.