Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
joehand committed Sep 1, 2017
1 parent 63da70b commit c3162bc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# dat-download

**WIP** One-time push via Dat. The other side of [dat-download]()
**WIP** One-time push via Dat. The other side of [dat-download](https://github.com/joehand/dat-download), kind of?

[![npm][npm-image]][npm-url]
[![travis][travis-image]][travis-url]
Expand All @@ -11,12 +11,20 @@
```js
var datPush = require('dat-push')

datDownload(process.cwd(), 'hashbase.io', function (err) {
datPush(process.cwd(), 'hashbase.io', function (err) {
if (err) throw err
console.log('done pushing, maybe? thanks')
})
```

## CLI

```
npm install -g dat-push
dat-push ./existing/dat-dir hashbase.io
```

## License

[MIT](LICENSE.md)
Expand Down

0 comments on commit c3162bc

Please sign in to comment.