Joel Baranick

Results 126 comments of Joel Baranick

@Lagoja Also, I don't recall the package at the moment, but the current code (and this PR) filter out packages with empty versions. I think that might be wrong, as...

@gcurtis It would be great if some of that discussion could occur here. I'm game to make changes to get a tweaked version of this PR in, as I believe...

That makes sense. For reference, adding the dependency used here only increased the binary size for Darwin arm64 by 164kb.

@Lagoja Thanks for the feedback. The width is intentionally constrained at the moment. The platforms list could be two columns to reduce the height somewhat. The table dividers, or something...

It could. Normal Unix would be to either pipe to a pager or use $PAGER to do the paging.

I'm game to take a stab at implementing paging if you are all in agreement that it will be a useful addition.

@Lagoja I was considering relying on the system pager ($PAGER) or an devbox specific config ($DEVBOX_PAGER). The could would look like: ``` if command, args, ok := findPager(); ok {...

This no longer works because v1/search endpoint stopped returning all platforms. To get it to work you can do: ``` type SearchResultsV2 struct { Query string `json:"query"` TotalResults int `json:"total_results"`...

Any reason this was closed?

See https://pkgx.sh/ for inspiration.