Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alimpfard/todos_ctr


https://github.com/alimpfard/todos_ctr

todo todo-app todolist

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Todos!

Because clearly every language requires a todo implementation!

### commands

+ add [+priority] \
add a todo entry
+ remove \
remove an entry
+ resolve \
resolve a todo, but don't remove it
+ unresolve \
reverse of resolve
+ list
list the current todos
+ display
alias for list
+ commit
flush into save (automatically done at exit)
+ sync
synchronise with git repository
+ help
show the help
+ git \
Execute git commands in the save directory
+ import \
Import a git url \[Warning: will remove the old data\]
### CLI usage

`executable_name [command] [arguments] [options]`

e.g.
```sh
$ main.ctr add +2 Publish this thing on github

$ main.ctr
```

The tasks can be marked for visibility at some given time range, by adding `[every ]` to their description:

```sh
$ main.ctr add +2 '[every 8-10] Show this between 8 AM and 10 AM'
$ main.ctr add +2 '[every *:0-30] Show this only at the first 30 minutes of any hour'
$ main.ctr add +2 '[every 0-14:0] Show this in the first minute, from midnight to 2 PM'
```

### config

It will try to read a config file at /etc/ctodo.json or ~/.config/ctodo.json (user dir first)
said config can contain:

+ kill-if-unlucky : there will be an option where the program will refuse to exit, and kill its parent with itself
+ kill-wait : the number of seconds the program will wait before committing murder+suicide

if the config doesn't exist, these default to Nil