Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide new "cid" sub-command. #5385

Merged
merged 10 commits into from
Oct 2, 2018
Merged

Provide new "cid" sub-command. #5385

merged 10 commits into from
Oct 2, 2018

Commits on Oct 1, 2018

  1. Provide new "cid" sub-command.

    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    57f9601 View commit details
    Browse the repository at this point in the history
  2. Remove "prefix" format string. Use WithDefault("%s') for `-f- option.

    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    30b861b View commit details
    Browse the repository at this point in the history
  3. Factor out boiler plate code for PostRun in "ipfs filestore ls".

    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    98e5999 View commit details
    Browse the repository at this point in the history
  4. Stream results for "ipfs cid format".

    Note reading input from Stdin is broken.  Only the first result is accepted.
    
    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    e5622f6 View commit details
    Browse the repository at this point in the history
  5. Right align numbers in "ipfs cid bases|codecs|hashes" output.

    This also avoid using TabWriter as it doesn't support right aligning a
    single column and also because its an overkill for this case.
    
    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    599bb73 View commit details
    Browse the repository at this point in the history
  6. Reenable Stdin argument reading.

    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    f3ea21c View commit details
    Browse the repository at this point in the history
  7. Add basic sharness tests.

    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    88a7e58 View commit details
    Browse the repository at this point in the history
  8. Address code review.

    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    c0a873c View commit details
    Browse the repository at this point in the history
  9. Eliminate emit closure, so something with errors on call to emit.

    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    7edc7de View commit details
    Browse the repository at this point in the history
  10. Rename streamResults to streamResult.

    License: MIT
    Signed-off-by: Kevin Atkinson <k@kevina.org>
    kevina committed Oct 1, 2018
    Configuration menu
    Copy the full SHA
    54904a7 View commit details
    Browse the repository at this point in the history