Skip to content

todo cli integration

  • my workflow template deployments always include todo cli
  • except I use aliases so it runs from inside any folder
  • tasks are rendered on mkdocs
  • tasks sometimes become a project

screencast

layout

todocli/
├── done.txt
├── report.txt
├── todo.cfg
├── todo.sh
├── todo.txt
<projects>/ template or whatever

todo.txt

(A) use this often and keep it updated
(B) add cors api request example
(B) test stuff.sh and tune up
(B) fix the cookiecutter hook on macos
(B) add vscode snippets
(A) add cookiecutter variables for mkdocs
(A) document using gh pages
(A) cli c commitizen command lines
(B) add the workflow button to the homepage
(A) screencast homepage workflow projects tasks click cookiecutter

done.txt

x 2022-06-07 add bujo
x 2023-09-13 copy from gitlab to github
x 2023-09-13 setup gh pages
x 2023-09-14 add lexi for cli tests
x 2023-09-14 add lexi
x 2023-09-14 lexi action for cli demo
x 2023-09-14 setup discussion
x 2023-09-17 deploy a new buddhism site

alias

# todocli app
alias t='clear && ./todocli/todo.sh'
alias d='clear && t listpri a'
alias snooze='clear && t listpri'
alias done='clear && cat ./todocli/done.txt'
alias tedit='vim ./todocli/todo.txt'
alias tall='clear && find . -name "todo.txt" | xargs grep "+"'
alias tpri='clear && find . -name "todo.txt" | xargs grep "(A"'
alias tprib='clear && find . -name "todo.txt" | xargs grep "(B"'
alias tpric='clear && find . -name "todo.txt" | xargs grep "(C"'
alias thelp='clear && ./todocli/todo.sh shorthelp'

usage

  Usage: todo.sh [-fhpantvV] [-d todo_config] action [task_number] [task_description]

  Actions:
    add|a "THING I NEED TO DO +project @context"
    addm "THINGS I NEED TO DO
          MORE THINGS I NEED TO DO"
    addto DEST "TEXT TO ADD"
    append|app ITEM# "TEXT TO APPEND"
    archive
    command [ACTIONS]
    deduplicate
    del|rm ITEM# [TERM]
    depri|dp ITEM#[, ITEM#, ITEM#, ...]
    do ITEM#[, ITEM#, ITEM#, ...]
    help [ACTION...]
    list|ls [TERM...]
    listall|lsa [TERM...]
    listaddons
    listcon|lsc [TERM...]
    listfile|lf [SRC [TERM...]]
    listpri|lsp [PRIORITIES] [TERM...]
    listproj|lsprj [TERM...]
    move|mv ITEM# DEST [SRC]
    prepend|prep ITEM# "TEXT TO PREPEND"
    pri|p ITEM# PRIORITY
    replace ITEM# "UPDATED TODO"
    report
    shorthelp

  Actions can be added and overridden using scripts in the actions
  directory.

  See "help" for more details.