forked from wayneashleyberry/wunderline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wunderline.js
executable file
·27 lines (24 loc) · 976 Bytes
/
wunderline.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env node
var app = require("commander");
var pkg = require("./package.json");
app
.version(pkg.version)
.command("auth", "Authenticate Wunderline")
.command("add [task]", "Add a task to your inbox")
.command("done", "Mark a task as done")
.command("inbox", "View your inbox")
.command("starred", "View starred tasks")
.command("today", "View tasks due today")
.command("week", "View tasks due this week")
.command("all", "View all of your tasks")
.command("overdue", "View overdue tasks")
.command("search [query]", "Search your tasks")
.command("list [query]", "Search your lists")
.command("lists", "List your lists")
.command("open", "Open Wunderlist")
.command("export", "Export your data")
.command("whoami", "Display effective user")
.command("gc", "Delete completed tasks")
.command("set-platform", "Set your preferred application platform")
.command("flush", "Flush the application cache");
app.parse(process.argv);