Skip to content

Commit 0007e75

Browse files
authored
Fixes #48 (#249)
Fixes #234 Fixes #250 Addressed comments.
1 parent 61606c6 commit 0007e75

15 files changed

Lines changed: 1423 additions & 1809 deletions

handwritten/datastore/samples/README.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,26 @@ View the [documentation][tasks_docs] or the [source code][tasks_code].
3333

3434
__Run the sample:__
3535

36-
Usage: `node tasks <command> [args]...`
37-
38-
Print usage:
39-
40-
node tasks
41-
42-
Example:
43-
44-
node tasks list
36+
Usage: `node tasks.js <command> [args]...`
37+
38+
```
39+
Commands:
40+
new <description> Adds a task with a description <description>.
41+
done <taskId> Marks the specified task as done.
42+
list Lists all tasks ordered by creation time.
43+
delete <taskId> Deletes a task.
44+
45+
Options:
46+
--help Show help [boolean]
47+
48+
Examples:
49+
node tasks.js new "Buy milk" Adds a task with description "Buy milk".
50+
node tasks.js done 12345 Marks task 12345 as Done.
51+
node tasks.js list Lists all tasks ordered by creation time
52+
node tasks.js delete 12345 Deletes task 12345.
53+
54+
For more information, see https://cloud.google.com/datastore/docs
55+
```
4556

4657
[tasks_docs]: https://cloud.google.com/datastore/docs/datastore-api-tutorial
4758
[tasks_code]: tasks.js

0 commit comments

Comments
 (0)