todo
Version, currently 0.2.38 versions
github.com/Nephos/todo
track your todo lists in your terminal
Nothing has been indexed for 0.2.3 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
todo:
github: Nephos/todo
version: ~> 0.2.3Then run:
shards installshard.yml
No shard.yml has been indexed for 0.2.3. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
todo
track your todo lists in your terminal
Installation
Requirements
- crystal (see the shards.yml file) (tested with v0.26.1)
- shards
Build
make
Usage
todo # list the tasks
todo -l listX # list (-l = list selection) the tasks of a list
todo --rm ID # remove a task
todo --date DATE an example of content for a task # add a new task
Usage: todo [arguments]
-a=ID, --archive=ID Move to archive
-u=ID, --update=ID Update the task ID
-r=ID, --remove=ID Delete the task ID
-d=DATE, --date=DATE Set the date
--clear-all Remove everything in the list
-l=NAME, --list=NAME Filter with the list NAME
--directory=PATH Change the directory of the todolist
-s, --sort Sort by date (by default)
-i, --sort-id Sort by id
-h, --help Show this help
Date parsing
There are several type of date format which are parsed automatically:
[Y]/<M>/<D>: classic date formatD+<n>: where n is the amount of days before the task ends
Configuration
Hooks
I you want someting to get executed right after or before an operation,
you can setup some hooks.
Write a yaml file ~/.config/todorc with the following structure:
hooks:
before_load:
- some command to execute
- an other command
after_load:
before_add:
after_add:
before_list:
after_list:
before_rm:
after_rm:
before_update:
after_update:
before_archive:
after_archive:
before_clear_all:
after_clear_all:
before_save:
after_save:
Each hooks can take several parameters:
mode: current operationdate: date of the taskid: id of the tasklist_name: name of the list of taskdir_name: directory where the task is registeredmsg: body on the tasksort: type of sort (date, id, ...)
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/Nephos/todo/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- Nephos Arthur Poulet - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.3- Tagged
- Feb 18, 2019
- Commit
91e5a777bb37- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/Nephos/todo
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 8