Git Product home page Git Product logo

todo.c's Introduction

todo.c

Command line lightweight todo tool with readable storage, written in C.

Latest version: v0.2.6

Installation

make install

This command will install todo to ~/.todo.

Next, add the following line to your shell's configuration(~/.bashrc or ~/.zshrc etc.):

alias todo=~/.todo

Usage

Note: todo will always use ./todo.txt prior to ~/todo.txt for persistent storage.

Usage:
  todo [-h|-v|-a]
  todo (<id> [done|undo|remove])|<task>...
Examples:
  add a task       -  todo Go shopping
  check a task     -  todo 1 done
  undo a task      -  todo 1 undo
  remove a task    -  todo 1 rm/remove
  list undo tasks  -  todo
  list all tasks   -  todo --all
  clear done tasks -  todo clean/cleanup
  clear all tasks  -  todo clear

Storage

todo will always use ./todo.txt prior to ~/todo.txt for persistent storage, if there is a todo.txt in current directory, todo will use it, else todo will try to find ~/todo.txt, if it doesn't exist, todo touches an empty file ~/todo.txt.

So when your are not in home directory, to new a todo, just:

$ touch todo.txt

The storage format is readable, it's the GitHub Flavored Markdown Task list:

- [x] Go shopping
- [ ] Clean the room

FAQ

  • Why C language? - I just want to write some C code that time.
  • Why not only ~/todo.txt? - I need different todos for different projects.
  • What is this tool created for? - I can manage tasks in my terminal, and read it anywhere(for instance, on github.com).

Contributors

https://github.com/hit9/todo.c/graphs/contributors

Thanks

  • Thanks to sjl, todo is inspired by sjl/t.

  • Thanks to vesln's todo.

License

BSD

todo.c's People

Contributors

hit9 avatar xuchunyang avatar benpicco avatar qrpnxz avatar nutsi avatar

Watchers

James Cloos avatar Mohan Liu 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.