How do I set pagination options in the GH command?

Viewed 259

I can list reos for my org using:

gh api orgs/myorg/repos

But how can I set pagination options? I have look through the docs and issues and tried:

gh --per_page 100 api orgs/myorg/repos

and

gh api orgs/myorg/repos -f per_page=100

But neither work.

1 Answers

OK found the answer to this a moment after I asked:

gh api orgs/myorg/repos --paginate

Hopefullt this will be useful to others.

Related