1.0.2 • Published 8 years ago

gist-to-do v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

#Gist To-Do CLI ##Depdenencies##

  • octonode
  • vorpal
  • open

##Installation##

$ npm install gist-to-do

##Useage##

To start the console:

$ node todo

To use the console:

todo$ <command>
CommandDescriptionOptions
loginLogin with your github credentials (userid/password). These are cached locally.
whoamiOuput the userid of the currently logged in user
listList known gists that follow the pattern gistToDo-{title}.md
showDisplay the current ToDo list loaded-v (--verbose) {open the gist in the browser}
createCreate a new ToDo Listtitle {the title for the ToDo list and used in the gist file name}
addAdd a new tasktask {the text for a new task, encapsulate in "" if its more than one word}
checkCheck/Uncheck tasks in the current listtaskId {optional task number to check off, else, a check list is provided}
loadLoad and set a ToDo list from known gists that follow the pattern gistToDo-{title}.md
deleteDelete a task.taskId {optional task number to delete, else a list of tasks for deletion will be provided}
configConfigure options for cli.-g (--gitHubURL) url{set github url proxy, useful for enterpeise}, -l (--list){list set configuration}, -c (--clear) {clear out any set configurations}
archivearchive all checked tasks

##Future Enhancements##

  • Add local/offline storage if github is unavailable
  • Add due dates and reminders
  • I hate that octonode is just all callbacks, take the time to re-wrap it into promises