Project

General

Profile

Actions

Bug #10534

closed

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

Added by Tomáš Strachota about 9 years ago. Updated about 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

Also available in: Atom PDF