aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarissa McKelvey <karissa@users.noreply.github.com>2016-05-25 12:03:40 -0700
committerKarissa McKelvey <karissa@users.noreply.github.com>2016-05-25 12:03:40 -0700
commit34fc55aeabe04eb6495c6c7139b0f2f3af19814a (patch)
treefffad3b847f6458f1171312d1607b83116b85c6b
parentf1db33607852c62b1191c11ad0c6bae906f02ca8 (diff)
downloaddat-docs-34fc55aeabe04eb6495c6c7139b0f2f3af19814a.tar.gz
dat-docs-34fc55aeabe04eb6495c6c7139b0f2f3af19814a.zip
Update api.md
-rw-r--r--api.md18
1 files changed, 12 insertions, 6 deletions
diff --git a/api.md b/api.md
index af43e7f..68a7c3f 100644
--- a/api.md
+++ b/api.md
@@ -10,14 +10,20 @@
Command-line interface for dat
-#### `dat LINK DIR`
+#### `dat share DIR`
-Downloads the link to the given directory, and then exits.
+Create a new dat link for the contents of the given directory. Prints a URL, which is a unique public key feed. This public key feed can be appended to.
+
+###### Options
-#### `dat seed LINK DIR`
+ * `--append=URL`: Adds the new URL to the public key feed.
+ * `--static`: Ensures that the URL cannot be appended to.
-Downloads the link to the given directory and opens up a server that seeds it to the dat peer network.
+#### `dat URL DIR`
+
+Downloads the link to the given directory, and then exits.
-### `dat ls LINK`
+###### Options
-Fetches the metadata for the link and prints out the file list in the console.
+ * `--seed`: Downloads the link to the given directory and opens up a server that seeds it to the dat peer network.
+ * `--list`: Fetches the metadata for the link and prints out the file list in the console.