nb: adding todoman to support todo ingest from mobile
This commit is contained in:
parent
a6adc828d5
commit
650c88f125
3 changed files with 15 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env zsh
|
||||
setopt aliases
|
||||
|
||||
NOTEBOOK_DIR=~/notebook
|
||||
|
||||
|
|
@ -24,6 +25,7 @@ Commands:
|
|||
status Show diff summary
|
||||
todo Add a todo item (or manage todos)
|
||||
archive Archive completed todos
|
||||
inbox List contents of inbox(es)
|
||||
|
||||
EOF
|
||||
}
|
||||
|
|
@ -50,6 +52,8 @@ case "$1" in
|
|||
todo)
|
||||
if [[ "$2" == "archive" && -z "$3" ]]; then
|
||||
todo_archive todo.xit done.xit
|
||||
elif [[ "$2" == "inbox" && -z "$3" ]]; then
|
||||
uvx --from todoman todo
|
||||
else
|
||||
todo "${@:2}"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue