Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
7 tasks done
shahzebsiddiqui opened this issue Aug 31, 2022 · 0 comments · Fixed by #1424
Closed
7 tasks done

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

shahzebsiddiqui opened this issue Aug 31, 2022 · 0 comments · Fixed by #1424
Assignees
Labels
new feature New Feature in buildtest such as command line or improvement to buildspec

Comments

@shahzebsiddiqui
Copy link
Member

shahzebsiddiqui commented Aug 31, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New Feature in buildtest such as command line or improvement to buildspec
Projects
No open projects
Status: No status
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants