markdown todo cli interface is a small application to query markdown todos with a SQL-like syntax. This is my first project in rust and will be improved over time. Some parts may be implemented not ideal.
call modo with a path to a folder with markdown files (--path or -p) and the query (--query or -q). Empty path will use the current folder, empty query will display all todos.
Examples:
modo -p /User/phil/Notes -q 'done == false'
All open todos in and below the given path.modo
All todos in and below the current folder.modo -p TestingNotes -q 'path << work and heading == # customer'
All todos in and below folder 'TestingNotes' where the path contains 'work' and the heading equals '# customer'.
j/k
andarrow up/down
for navigation in the todo list.x
toggles a todo done/open.d
shows todo details.x
toggle todo and returns to list.any other key
returns to list.
r
refresh / reload.q
quits.
All filters are case insentivite. Multiple filters can be used with "and" between them.
Syntax has to be: <todo-property> <operator> <value>
Filters always bear upon a single todo.
name
entire line of the todofilename
file where the todo is locatedpath
full path, including filenameheading
first heading (line that starts with #) that is found above the tododone
if todo is marked as done
==
equals!=
does not equal<<
contains!<
does not contain
done == false
path << customername and done == false
done == true and path !< Arbeit
done == false and heading == Daily
heading == Daily
path << work and path !< customer and done == false
- Ordering todos via query
- Grouping and OR support for filters
- Give feedback about query parts that are wrong
- Shortcut to open the .md file a todo is in the systems set .md editor
- Display options, specify what properties of the todo should be displayed
- Option to edit the query in the app