aboutsummaryrefslogtreecommitdiffstats
path: root/api.md
blob: bcff12635efb6379d208b62fc657764e414fffbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## 1.0 Architecture Design


  * dat: command-line api
  * dat-desk: desktop application
  * hyperdrive: storage layer
  * discovery-swarm: dat network swarm discovery mechanism

## dat

Command-line interface for dat

#### `dat LINK DIR`

Downloads the link to the given directory. 

#### `dat seed LINK DIR`

Downloads the link to the given directory and opens up a server that seeds it to the dat peer network.

### `dat ls LINK`

Fetches the metadata for the link and prints out the file list in the console.