Giter Site home page Giter Site logo

cli-todo's Introduction

CLI-Todo

A Simple command line todo list app. Written in javascript. Requires Node.js.

CLI-Todo Screenshot

##Install First install node.js. Go to nodejs.com for OS specific instructions.

I suggest installing CLI-Todo inside a folder in your dropbox folder as I plan on creating a mobile web app that will need access to this database file.

cd Dropbox
mkdir CLI-Todo
cd CLI-Todo
npm install cli-todo -g
npm link

npm link will make the "td" command available anywhere in your command line. You may need to add sudo in front of the two npm commands.

CLI-Todo uses the awesome NeDB javascript database. It's a flat file NoSQL database that uses a MongoDB API. Check it out here.

Upon creating your first todo item NeDB will create a database file for you called todoList.db.

Go ahead and create your first todo item:

td -a "Become Sith Lord"

You can see the help by using the -h flag:

td -h

##Usage

td <command> [option]

##Examples ####Add a todo item

td -a "Kill Superman with Kryptonite purchased last week."

All items added to your todo list will get a priority of "Medium" by default.

To set a "High" or "Low" priority add the -p <high|med|low> option.

td -a "Kill Superman with Kryptonite purchased last week." -p "high"

####List all current open todo items

td -l

####Mark todo item as complete

td -c <todo ID>

First list your todo items (td -l). The id will be in the first column.

####Show completed todo items

td -s

cli-todo's People

Contributors

koreys avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.