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

Conversation

@fbaiodias
Copy link
Member

Example uses:

  • jsipfs config foo - get the foo value
  • jsipfs config foo bar - set foo as 'bar'
  • jsipfs config foo true --bool - set foo as true
  • jsipfs config foo '{"bar: "0"}' --json - set foo as {bar: 0}

Related to #49

Copy link
Member

Choose a reason for hiding this comment

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

Missing a test for failure, i.e. no key present

Copy link
Member Author

Choose a reason for hiding this comment

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

@dignifiedquire
Copy link
Member

Thanks :octocat: LGTM, but I'll let @diasdavid look at it before doing anything

@daviddias
Copy link
Member

Thank you Francisco :D great you had the time to finish the PR. I'll be hacking tomorrow the whole afternoon again at the same place, join us :)

daviddias added a commit that referenced this pull request Jan 15, 2016
@daviddias daviddias merged commit ea24b50 into ipfs:master Jan 15, 2016
MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this pull request May 22, 2020
There was a test for this but it didn't check the contents of the
entire file, only starting from the difference between the offset
and the file length.  Oops.

Fixes ipfs#53
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