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.modoAll 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/kandarrow up/downfor navigation in the todo list.xtoggles a todo done/open.dshows todo details.xtoggle todo and returns to list.any other keyreturns to list.
rrefresh / reload.qquits.
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.
nameentire line of the todofilenamefile where the todo is locatedpathfull path, including filenameheadingfirst heading (line that starts with #) that is found above the tododoneif todo is marked as done
==equals!=does not equal<<contains!<does not contain
done == falsepath << customername and done == falsedone == true and path !< Arbeitdone == false and heading == Dailyheading == Dailypath << 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