Skip to content

[FEATURE]: add pagination support for 'buildtest history' #1211

@shahzebsiddiqui

Description

@shahzebsiddiqui

Please describe your feature request

Similar to #1210, let's add pagination support for buildtest history command via --pager and -p option.

Let's remove the -p option from buildtest history list and move this up a level to buildtest history --pager

(buildtest)  ~/Documents/github/buildtest/ [update_buildtest_help+*] buildtest history list -h
usage: buildtest [options] [COMMANDS] history list [-h] [-n] [-t] [--pager]

optional arguments:
  -h, --help       show this help message and exit
  -n, --no-header  Do not print header columns in terse output (--terse)
  -t, --terse      Print output in machine readable format
  --pager          Enabling PAGING when viewing result

We should have buildtest history --pager list work exactly how buildtest history list --pager works.

The pagination for buildtest history query should work in the following cases

  • buildtest history -p query 0
  • buildtest history -p query 0 --output

Action Item

Post question in Slack

  • I agree that I posted my question in slack before creating this issue

Is there an existing issue

  • I confirm there is no existing issue for this issue

Metadata

Metadata

Assignees

Labels

new featureNew Feature in buildtest such as command line or improvement to buildspec

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions