~arivigo/cras

The Anti-Procrastination Tool
cras.c: new style for default cases
cras.c: -v should output to stdout and exit succesfully
README.md: adding basic usage info

clone

read-only
https://git.sr.ht/~arivigo/cras
read/write
git@git.sr.ht:~arivigo/cras

You can also use your local clone with git send-email.

#cras - The Anti-Procrastination Tool

cras is an unapologetic task list manager for your terminal and WM status bar, but with a catch: Task lists are accessible only for a limited amount of time set by the user!

#Basic usage

cras creates a new task list using the -n option and a file name. Calling cras without any options will show the contents of the task list file. The -t option followed by the task's number will mark it as done!

$ cras -n tasks
#01: Write this new task list
#02: Another important thing to do
#03: Don't forget this one either
#04: To finish, Ctrl+D
#05:
Task list saved.
$ ./cras tasks
2022-06-22
#01 [TODO] Write this new task list
#02 [TODO] Another important thing to do
#03 [TODO] Don't forget this one either
#04 [TODO] To finish, Ctrl+D
$ ./cras -t 3 tasks
#03 [DONE] Don't forget this one either

You may check the cras(1) manpage for further usage information.

#Build

cras requires:

  1. A POSIX-like system
  2. A C99 compiler
  3. sline: Unless you really know what you're doing, use the latest release, not the master git branch.

Build by using:

$ make

Customize the build process by changing config.mk to suit your needs.

User configuration is performed by modifying config.h. A set of defaults is provided in config.def.h.

#Install

You may install cras by running the following command as root:

# make install

This will install the binary under $PREFIX/bin, as defined by your environment, or /usr/local/bin by default. The Makefile supports the $DESTDIR variable as well.

#Cultural trivia

cras means 'tomorrow' in Latin. For instance, the English word procrastination means, literally, 'the act of postponing things for tomorrow.'

#Contributing

All contributions are welcome! If you wish to send in patches, ideas, or report a bug, you may do so by sending an email to the cras-devel mailing list.

If interested in getting some news from the project, you may also want to subscribe to the low-volume cras-announce mailing list!

#License

cras is published under an MIT/X11/Expat-type License. See LICENSE file for copyright and license details.