1.6.0 ā€¢ Published 5 years ago

todo-month v1.6.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

TODO-MONTH

Maintenance status published on npm!\ Known Vulnerabilities Testing Status Test Coverage Maintainability


The tiniest little module for exporting a pretty md month of stuff to do

What it is:

A tiny node module that exports a blob of text to your clipboard when invoked. It pretty-prints your month into a series of days, with a single empty task pre-attached to each day. It pastes weekend days in full, while 3 character abbreviating all other days, so weekends stand out more. EG:

  ### 02-06-2017 - SUNDAY
  - 
  ### 03-06-2017 - Mo
  - 

This is really useful for people who like to make the most of their days, weeks, and months, and who like to use less intense todo systems like markdown editors (Marxico, IAWriter, Bear).

HOW TO USE IT:

  1. npm i -g todo-month || yarn add --global todo-month
  2. When in your month (like on the first): todo-month anywhere in your terminal
  3. For an upcoming month (like september): todo-month 2017-09 --reverse
  4. Bask in the pretty colors when the month is deposited in your clipboard
  5. After the first time you fire off a todo-month ...STUFF, it'll remember your options!
  6. Forever more all you'll have to do is run todo-month!

Let's get argumentative!

todo-month can be called with a dizzying number of arguments!

ArgLongformAcceptsDescriptionExample
-c--compatvoidswith - checkboxes to git-md-compat - [ ]todo-month -c
-r--reversevoidreverse the days, starting with the end of the monthtodo-month -r
-n--nextvoiduse the next month, instead of this/the arg onetodo-month -n
-w--weekdaysvoiddon't list weekends in output monthtodo-month --weekdays
-T--titlestringreplace the title, optionally use monthtodo-month -T "# --mmmm-yy tasks:"
-t--tagstringreplace the bottom categorization tagtodo-month --tag "#todo/nightly---yy"
-d--dogvoidreplaces some characters with dogfacestodo-month --dog
-D--moar-dogvoidreplaces alot of characters with face of dogtodo-month -D
-R--resetvoidreplaces any pre-existing config with only the args of this runtodo-month -Rd
stringtakes a date string as an input, and tries to use ittodo-month 10-12-1987
-f--formatstringexplained below in detail: format each daytodo-month -f "ddd-mm"

The great formatting:

This app is capable of outputting a dizzying amount of date formats. The only nonstandard format is the one you get when you only run month-todo. If you pass it an arbitrary format string, you get that arbitrary format output! For example: todo-month -f "dddd - yy - mm"

  ### Saturday - 17 - 07
  - 
  ### Sunday - 17 - 07
  - 

Or if you really want to get wacky: todo-month -f 'yyy, dddd, dd, d, m, mm, y, bippipy yyyy'

  ### 17y, Saturday, 01, 1, 7, 07, y, bippipy 2017
  - 
  ### 17y, Sunday, 02, 2, 7, 07, y, bippipy 2017
  - 

Or simply: todo-month --reverse --dog -f 'ddd - yy'

  ### Mon šŸ¶ 17
  - 
  ### Sun šŸ¶ 17
  - 

And now supporting only scheduling weekdays! todo-month -w -f 'dddd'

  ### Friday
  - 
  ### Monday
  - 

These formats can also be used in the -T for title and -t for end-tag blocks, but you need to append a -- to them to get them formatted correctly. So # --mmmm-yy tasks: becomes:

  # January-18 tasks:

šŸ˜Š

TODO:

  • refactor construction of months/days to be more modular
  • implement random/even distribution of regular events
  • tests interacting with the command line
1.6.0

5 years ago

1.5.3

5 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

7 years ago