This Ruby script adds functionality to the [NotePlan app](https://noteplan.co/). Particularly when run frequently, this provides a more flexible system for repeating tasks, allows for due dates to be expressed as offsets which allows for templates, and moves or files items from Daily files to Note files. It incorporates an ealier script to 'clean' or tidy up NotePlan's data files.
* [ ] Weekly waste collections in Basingstoke and Deane are set to resume from Monday 17 August [[Admin (Home)]] >2020-08-16
This --moreverbose output:
Cleaning file id 0 20200723
remove_empty_tasks ...
remove_empty_trailing_lines ...
- removed 1 empty lines
remove_tags_dates ...
process_repeats ...
move_calendar_to_notes ...
- found note link [[Admin (Home)]] in task on line 3 of 4
- starting task analysis at line 3 with indent '' (0)
Traceback (most recent call last):
3: from /Users/jonathan/bin/npTools:760:in `<main>'
2: from /Users/jonathan/bin/npTools:760:in `each'
1: from /Users/jonathan/bin/npTools:766:in `block in <main>'
/Users/jonathan/bin/npTools:236:in `move_calendar_to_notes': undefined method `scan' for nil:NilClass (NoMethodError)
For file including
This --moreverbose output: