Project

General

Profile

Actions

Feature #20044

closed

hammer- allow user to specify column widths for table output

Added by Marek Hulán almost 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
No
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1437155

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):

0.10

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:


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Tracker #14914: Tracker for output related issuesClosed

Actions
Actions #1

Updated by Marek Hulán almost 7 years ago

  • Subject changed from hammer- allow user to specify column widths for table output to hammer- allow user to specify column widths for table output
  • Category changed from Other commands to Hammer core
  • Target version set to 115
Actions #2

Updated by Tomáš Strachota over 6 years ago

Actions #3

Updated by Marek Hulán over 6 years ago

A --dont-truncate that would have to be set explicitly is acceptable solution for the reporter.

Actions #4

Updated by Ondřej Pražák about 4 years ago

  • Status changed from New to Closed
  • Triaged set to No
  • Team Backlog deleted (Marek)

The BZ was closed, closing this as well.

Actions

Also available in: Atom PDF