project(1)

πŸ“¦
version 0.13 Β· 3 versions
, in ubuntu stonking

πŸŽ€ NAME πŸŽ€

okay bestie, meet the command this whole manual is about: counttodo β€” and no, the page itself is filed under project(1) in the General Commands Manual, so if you went looking for counttodo(1) and got handed project(1) instead, that's just how it's shelved, don't stress πŸ’–.

counttodo returns a count of the active tasks in a todo.txt file. that's it. that's the job. icon behavior honestly πŸ‘‘


✨ SYNOPSIS ✨

counttodo [-f FILE]

πŸ¦‹ DESCRIPTION πŸ¦‹

it counts the number of active tasks in a todo.txt file. one number, coming right up πŸ’…

but bestie, watch out β€” a bunch of stuff does not get counted, and the rules are lowkey specific:

  • Empty or whitespace-only lines are excluded from the count. if it's just vibes and spaces, it's not a task 🌸
  • Lines which have no context flag (@foo) are excluded. no @ tag, no entry, sorry babe 😭
  • Lines containing pending context flags (@~foo) are excluded. the tilde is giving pending, and pending doesn't make the cut πŸ™ˆ
  • Comment lines, starting with a #, are excluded. # = commentary, not content, periodt πŸ’€

πŸ’– OPTIONS πŸ’–

  • -h, --help β€” print help and exit. shortest conversation ever, but so valid 🫢
  • -f, --file β€” specify the todo.txt file location. (Default via todo.txt --info) β€” so if you don't say where the file lives, it goes asking todo.txt --info instead, iykyk ⭐

🌈 SEE ALSO 🌈

go read these too, they're all part of the same little family 🧚


and that's the whole page! this edition of project(1) was stamped November 2022 β€” mwah, iconic, no cap πŸ’œβœ¨πŸ”₯

πŸ“¦ where this page comes from