#! /usr/local/bin/node

const fs = require('fs')
const add = require('./commands/add')
const list = require('./commands/list')
const done = require('./commands/done')

const command = process.argv[2]
const argument = process.argv[3]

switch(command) {
  case "add":
    add(argument)
    break;

  case "list":
    list()
    break;

  case "done":
    done(argument)
}

@@ -226,11 +226,27 @@
 argv
-%5B3%5D
+.slice(3).join(' ')
 %0A%0Asw

Add ability to take multiple words as an argument