Skip to content
Browse files

Docs.

  • Loading branch information...
1 parent 3f4d1ca commit 7c8fce15578c9830a361515522a7370d027ec7bb @vesln committed
Showing with 11 additions and 0 deletions.
  1. +11 −0 lib/app.js
View
11 lib/app.js
@@ -33,9 +33,20 @@ app.use(flatiron.plugins.cli, {
]
});
+// Version.
app.cmd(/version/, commands.version);
+
+// Lists all todo items.
app.cmd(/ls/, commands.list);
+
+// Marks a todo item as done.
app.cmd(/check (.+)/, commands.check);
+
+// Marks a todo item as not done yet.
app.cmd(/undo (.+)/, commands.undo);
+
+// Removes a todo item.
app.cmd(/rm (.+)/, commands.delete);
+
+// Adds new todo item.
app.cmd(/(.+)/, commands.add);

0 comments on commit 7c8fce1

Please sign in to comment.
Something went wrong with that request. Please try again.