Project

General

Profile

Actions

Bug #10534

closed

hammer pagination output should be disabled by default or respect terminal size

Added by Tomáš Strachota almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1190857
Most if not all Linux/Unix commands do not have pagination built in by default and users rely on pipes to more/less to control the page size of output.

By default hammer ships with a very small 25 line pagination setting which is bothersome as a user who wants to view more input.

Most users outside of an actual 80x25 line terminal will have way more screen real-estate beyond the 25 we ship with now.

There is also no argument available to disable paging so users are forced to know to edit a config file to adjust this value.

Ideally the pagination would be disabled entirely by default and could optionally be turned on.

Currently we have to advocate users putting in arbitrarily large values to 'disable' pagination, eg:

:per_page: 9999

Related issues 2 (0 open2 closed)

Related to Hammer CLI - Bug #5073: [RFE] Ability to disable paginationClosed04/04/2014Actions
Related to Hammer CLI - Feature #3898: Pagination should be turned off by default in --csv modeDuplicate12/17/2013Actions
Actions #1

Updated by Tomáš Strachota almost 9 years ago

  • Category set to Foreman commands (obsolete)
  • Status changed from New to Assigned
Actions #2

Updated by Dominic Cleal almost 9 years ago

Isn't this a dupe of #5073 or #3898?

Actions #3

Updated by Tomáš Strachota almost 9 years ago

  • Related to Bug #5073: [RFE] Ability to disable pagination added
Actions #4

Updated by Tomáš Strachota almost 9 years ago

  • Related to Feature #3898: Pagination should be turned off by default in --csv mode added
Actions #5

Updated by Tomáš Strachota almost 9 years ago

Not directly dupes but they are highly related. Links added.

Actions #6

Updated by The Foreman Bot almost 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/179 added
  • Pull request deleted ()
Actions #7

Updated by Anonymous almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF