cleanup Readme, add usage

This commit is contained in:
Dan Ballard 2018-05-09 18:01:04 -07:00
parent f283c93d49
commit a7a60d1ed2
1 changed files with 36 additions and 4 deletions

View File

@ -2,27 +2,57 @@
![Markdown Bullet Journal Logo](https://github.com/dballard/markdown-bullet-journal/raw/master/Markdown-Bullet-Journal.png "Markdown Bullet Journal Logo") ![Markdown Bullet Journal Logo](https://github.com/dballard/markdown-bullet-journal/raw/master/Markdown-Bullet-Journal.png "Markdown Bullet Journal Logo")
Markdown Bullet Journal is a digital adaptation of analog tech. I found having a running todo list with daily migrations dropping done items worked best for my workflow. Add a simple summary app to show you all you have accomplished and I'm happy. Markdown Bullet Journal is a digital adaptation of [analog tech](http://bulletjournal.com/). For my personal productivity I found having a full markdown todo list file with daily migrations was the most optimal was to manage my time. I added in a utility to summarize my past work as the daily migrations made that hard to track.
These are a simple set of utilities that work for me. Nothing fancy These are a simple set of utilities that work for me. Nothing fancy
## mdbj-migrate ## Usage
### Windows
Download:
- [mdbj-migreate.exe](https://www.danballard.com/resources/mdbj/mdbj-summary.exe)
- [mdbj-summary.exe](https://www.danballard.com/resources/mdbj/mdbj-migrate.exe)
And place them in a directory. Run `mdbj-migrate` to generate a template to work from and each day after to 'migrate'. Run `mdbj-summary` to generate summary.txt to review work done.
### Linux & Mac
- Install Go
```
go install github.com/dballard/markdown-bullet-journal/tree/master/mdbj-migrate
go install github.com/dballard/markdown-bullet-journal/tree/master/mdbj-summary
```
Pick a directory you want to use and run `mdbj-migreate` to generate a template to work from. Run it on successive days to 'migrate'. Run `mdbj-summary` to print a summary of done work to the console.
### Recommendations
My mdbj directoy is in a cloud backed up location so I can also slightly awkwardly review it from my phone in a text editor.
## Documentation
### mdbj-migrate
When run in a directory, takes the last dated .md file, copies it to a new file with today's date, and dropes all lines marked completed (with a '[x]'). When run in a directory, takes the last dated .md file, copies it to a new file with today's date, and dropes all lines marked completed (with a '[x]').
## mdbj-summary ### mdbj-summary
Consumes all dated .md files in the directory and prints out all done tasks (lines with '[x]'). Properly collapses nested items into one line names like Consumes all dated .md files in the directory and prints out all done tasks (lines with '[x]'). Properly collapses nested items into one line names like
```
- Complex task - Complex task
- [ ] Subpart A - [ ] Subpart A
- [x] Task 1 - [x] Task 1
```
into into
"Complex task / Subpart A / Task 1" "Complex task / Subpart A / Task 1"
## Markdown supported ### Markdown supported
The basics of headers with '#' The basics of headers with '#'
@ -40,10 +70,12 @@ See the included demo file for a better idea.
These are tasks you might want to do a subset of on any given day, and possibly several times. You would like it tracked, but on migration you would like it 'reset to 0' not dropped. In my case I use it with a list of exercises I pick one to do a few times a day. These are tasks you might want to do a subset of on any given day, and possibly several times. You would like it tracked, but on migration you would like it 'reset to 0' not dropped. In my case I use it with a list of exercises I pick one to do a few times a day.
```
- [x] 4x10 - Pushups - [x] 4x10 - Pushups
- [ ] 0x10 - Crunches - [ ] 0x10 - Crunches
- [ ] 0x10 - Lunges - [ ] 0x10 - Lunges
- [x] 1x5 - minutes of meditation - [x] 1x5 - minutes of meditation
```
Will get output as: Will get output as: