iridakos / stup

Daily notes in the terminal :penguin:
https://github.com/iridakos/stup
MIT License
415 stars 31 forks source link

Ability to export notes #8

Open iridakos opened 4 years ago

iridakos commented 4 years ago

Users should be able to export notes with something like

stup export --from "2020-04-15" --to "2020-05-18" --output ./report.md

and get a markdown file named report.md with contents like

# Export of notes from April 15th, 2020 to May 18th, 2020

## April 15th, 2020

### Notes related to <repository-name>

- A note
- Another note
- Another note

### Notes related to <another-repository-name>

- A note containing review
- Another note containing review
- Another note containing review

## April 16th, 2020

### Notes related to <repository-name>

- A note
- Another note
- Another note

### Notes related to <another-repository-name>

- A note containing review
- Another note containing review
- Another note containing review

...

## May 15th, 2020

### Notes related to <repository-name>

- A note
- Another note
- Another note

### Notes related to <another-repository-name>

- A note containing review
- Another note containing review
- Another note containing review
...