Skip to content

added block cmd - #165

Merged
jbenet merged 8 commits into
ipfs:masterfrom
cryptix:blockCmd
Oct 14, 2014
Merged

jbenet merged 8 commits into
ipfs:masterfrom
cryptix:blockCmd

Conversation

@cryptix

@cryptix cryptix commented Oct 13, 2014

Copy link
Copy Markdown
Contributor

This implements the block command from #138.

Comment thread cmd/ipfs/block.go Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do:

  Short: "manipulate raw ipfs blocks"
  Long: `ipfs block - manipulate raw ipfs blocks

    ipfs block get <key>  - get and output block named by <key>
    ipfs block put        - store stdin as a block, outputs <key>

ipfs block is a plumbing command used to manipulate raw ipfs blocks.
Reads from stdin or writes to stdout, and <key> is a base58 encoded
multihash.

`

@jbenet

jbenet commented Oct 14, 2014

Copy link
Copy Markdown
Member

Hey @cryptix -- great start! thanks for the PR. Couple of quick comments on the command wording, otherwise good to go.

@cryptix

cryptix commented Oct 14, 2014

Copy link
Copy Markdown
Contributor Author

@jbenet all done :)

@jbenet

jbenet commented Oct 14, 2014

Copy link
Copy Markdown
Member

@cryptix great, thanks!

jbenet added a commit that referenced this pull request Oct 14, 2014
@jbenet
jbenet merged commit 707f701 into ipfs:master Oct 14, 2014
@cryptix
cryptix deleted the blockCmd branch October 14, 2014 08:27
@jbenet jbenet mentioned this pull request Oct 23, 2014
ariescodescream pushed a commit to ariescodescream/go-ipfs that referenced this pull request Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants