hut git list
returns 25 repositories for me when I pipe its output to
a file, which is definitely less than I have. It returns 92 repositories
when I let it go to standard output (it seems to call less or
something).
Yes that is expected for now. When directly invoked from the terminal, hut will send a single request to fetch 25 resources (repos, issues, build jobs...) and if you continue to scroll though the output it will send additional requests.
When piping to a file, there will only be one request for now, so that the API does not get flooded unnecessarily. I have planned a
count
flag in the future, that will allow users to specify the number of desired resources (hut will add backoff).