-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(peers): fix limit/offset bugs, add sending output to
less
when…
… listing peer cache While working on offset and limit for `qri peers list`, I realized that paginating through the list of peers doesn't really make sense, because to generate the peers list we range through a map, not a slice, we get a different order each time. We can talk about whether we want to make this list ordered, but for now, I thought it might be a good place to try to stdout to `less`, rather then return the output to the terminal. So, if you look for your cached peers, qri will send you to `less` that displays your cached peers.
- Loading branch information
Showing
3 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters