node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

vinci

vinci

npm version npm Build Status

accomplish more by completing task in terminal

library in early stages of development

Features

  • List completed and uncompleted todos from file
  • Add new todos
  • Remove existing todos
  • Mark todos as completed
  • Clear all todos

Install

It's recommended to install vinci globally

$ yarn global add vinci

If you prefer using npm:

$ npm install -g vinci

Todo template

- [ ] Pending task
- [X] Completed task

Usage

Usage: vinci [options] [command]


  Options:

    -V, --version  output the version number
    -d, --done     command affects only completed todos
    -h, --help     output usage information


  Commands:

    init         initializes example TODO.txt file
    add <todo>   adds new todo
    done <id>    marks todo as completed
    remove <id>  removes todo by given id
    clear        clears todos

Create TODO.txt file with example todos

$ vinci init
vinci
todo:
(id) task
done:
(id) task

To add new task

$ vinci add "Some new task"

You can also add completed task

$ vinci -d add "Some completed task"

To remove existing task

$ vinci remove <id>

To complete existing todo

$ vinci done <id>

To clear all tasks

$ vinci clear

To clear only completed tasks use done flag

$ vinci -d clear