New issue 274: allow single document option to span multiple per-year directories
https://bitbucket.org/blais/beancount/issues/274/allow-single-document-option-to-span
Stefano Zacchiroli:
As suggested by the documentation, it is handy to split documents like bank statements into per-year sub-directories. To support all of them, one currently needs to specify the document option multiple times, e.g. (real-example from my own beancount file):
```
#!beancount
option "documents" "documents/2018"
option "documents" "documents/2017"
option "documents" "documents/2016"
option "documents" "documents/2015"
option "documents" "documents/2014"
option "documents" "documents/2013"
option "documents" "documents/2012"
option "documents" "documents/2011"
option "documents" "documents/2010"
option "documents" "documents/2009"
```
Having to maintain this list is tiresome and bloated.
Given how popular this arrangement is, it would be nice if beancount would look for both DOCUMENT_DIR/ACCOUNT_NAME/YYYY-MM-DD.file.pdf and DOCUMENT_DIR/YYYY/ACCOUNT_NAME/YYYY-MM-DD.file.pdf . With that, it will become possible to specify a single document option, like this:
```
#!beancount
option "documents" "documents"
```