Skip to content

Commit

Permalink
usage + updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joehand committed Mar 27, 2017
1 parent 9ff16ac commit fc26123
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
node_modules
tests/fixtures/.dat
tests/fixtures/dat.json
tests/**.db
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,3 @@ node_js:
- "4"
- "6"
- "7"

sudo: false

script:
- npm test
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 Joe Hand
Copyright (c) 2017 Joe Hand

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
"dat-next": "cli.js"
},
"scripts": {
"auth-server": "DEBUG=* node scripts/auth-server.js",
"test": "standard && tape tests/*.js | tap-spec"
"test": "standard"
},
"repository": {
"type": "git",
"url": "git+https://github.com/joehand/dat-next.git"
},
"author": "Joe Hand <[email protected]> (https://joeahand.com/)",
"author": "Joe Hand <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/joehand/dat-next/issues"
Expand Down
18 changes: 17 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,24 @@ The next version of the `dat` command line tool.

Current version at [datproject/dat](https://github.com/datproject/dat).

### Install Dat-Next:
## Install:

```
npm install -g dat-next
```

## Usage

Share `dir`:

```
dat-next <dir> [options]
--sleep,-s persist sleep files in .dat folder
```

Download `key` to `dir`:

```
dat-next <key> <dir> [options]
--sleep,-s persist sleep files in .dat folder
```

0 comments on commit fc26123

Please sign in to comment.