Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

feat: add bitswap stat cli human option #2619

Merged
merged 3 commits into from
Nov 22, 2019

Conversation

PedroMiguelSS
Copy link
Contributor

This PR adds --human flag to bitswap stat command.

Usage:

> jsipfs bitswap stat --human

Output:

bitswap status
        provides buffer: 0
        blocks received: 0
        blocks sent: 0
        data received: 0 B
        data sent: 0 B
        dup blocks received: 0
        dup data received: 0 B
        wantlist [2 keys]
        partners [0]

This PR supersedes #2608.

@alanshaw alanshaw merged commit 6a2ea52 into master Nov 22, 2019
@alanshaw alanshaw deleted the feat/add-bitswap-stat-cli-human-option branch November 22, 2019 12:38
@alanshaw alanshaw mentioned this pull request Dec 9, 2019
57 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants