Giter Site home page Giter Site logo

pulkit-singhal / todo Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 15 KB

A simple and minimalist command line task manager

License: GNU General Public License v3.0

Python 100.00%
todo todoapp todos minimalist simplistic command-line command-line-tool

todo's Introduction

todo

AUR PYT SDP

todo is a minimalist and simple command line task manager. It aims for those who want to finish their tasks, not to organize them.

It is written in Python 3 and uses sqlite3 to store your tasks.

Why todo?

There are various command-line task managers are out there but the there are various reasons to use todo

  • Simple things are easily manageable, being not a feature-packed is one of its pros
  • If you are taking 15 minutes to tag or organize your todo-list, better option is to finish off some tasks in those 15 minutes

todo was inspired by t.

Installing todo

todo requires Python 3 or newer, and some form of UNIX-like shell (bash works well). It works on Linux, OS X, and Windows (with Cygwin).

Installing and setting up todo will not take more than a minute.

First, download the newest version or clone the git repository (git clone https://github.com/pulkit-singhal/todo.git). Put it anywhere you like.

Next, decide where you want to keep your todo list. I put mine in ~/tasks.todo.

Finally, set up an alias to run todo. Put something like this in your ~/.bashrc file:

alias todo='python ~/path/to/todo.py --location ~/tasks.todo'

If you have both Python 2 and 3 installed you need to explicitly use Python 3

alias todo='python3 ~/path/to/todo.py --location ~/tasks.todo'

Make sure you run source ~/.bashrc or restart your terminal window to make the alias take effect.

Using todo

todo is quick and easy to use.

Add a Task

To add a task, use todo [task description]:

$ todo Clean the room.
$ todo Buy more milk.
$ todo Plan the travel to Shimla.
$

List Your Tasks

Listing your tasks is even easier -- just use todo:

$ todo
+----+----------------------------+
| ID |            Task            |
+----+----------------------------+
| 1  |      Clean the room.       |
| 2  |       Buy more milk.       |
| 3  | Plan the travel to Shimla. |
+----+----------------------------+
$

todo will list all of your unfinished tasks and their IDs.

Finish a Task

After you're done with something, use todo -f ID to finish it:

$ todo -f 2
$ todo
+----+----------------------------+
| ID |            Task            |
+----+----------------------------+
| 1  |      Clean the room.       |
| 3  | Plan the travel to Shimla. |
+----+----------------------------+
$

You can finish off multiple tasks at once, by providing the list of ID like, todo -f 1 3 will remove task with ID 1 and 3.

Edit a Task

Sometimes you might want to change the wording of a task. You can use todo -e ID [new description] to do that:

$ todo -e 3 Plan the travel to Manali.
$ todo
+----+----------------------------+
| ID |            Task            |
+----+----------------------------+
| 1  |      Clean the room.       |
| 3  | Plan the travel to Manali. |
+----+----------------------------+
$

Multiple Lists

todo is for people that want to do tasks, not organize them. With that said, sometimes it's useful to be able to have at least one level of organization. To split up your tasks into different lists you can add a few more aliases:

alias tg='python ~/path/to/todo.py --location ~/groceries.todo'
alias tw='python ~/path/to/todo.py --location ~/work.todo'

Distributed Bugtracking

Like the idea of distributed bug trackers, but don't want to use such a heavyweight system? You can use todo instead.

Add another alias to your ~/.bashrc file:

alias bugs='python ~/path/to/todo.py --location ~/bugs.file'

Now when you're in your project directory you can use bugs to manage the list of bugs/tasks for that project.

todo's People

Contributors

pulkit-singhal avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pulkitmaloo

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.