Skip to content

pager/$PAGER support for gh repo list #5101

@laertis

Description

@laertis

Describe the feature or problem you’d like to solve

Although there is existing PAGER support both through an environment variable as well as, through gh config for different commands it seems that it is not respected on gh repo list

Based on github cli config.yml

# A pager program to send command output to, e.g. "less". Set the value to "cat" to disable the pager.
pager: cat

Setting pager value to cat should disable pagination

However, when trying to list all repo for an account/organization with more than 30 repos (current pager default value/limit) it won't return all of them (unless you change the limit with -L, --limit)

Proposed solution

Support to disable pagination in gh pr repo list

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions