aapis / evertils

Generate Evernote notes from YML files
1 stars 0 forks source link

Make EOD section configurable via ~/.evertils #16

Closed aapis closed 8 years ago

aapis commented 8 years ago

New configuration file (and directory) to customize template content. This will live outside the repo in $HOME/.evertils/ and be user customizable. Evertils should create the config file with a default section (EOD - End of Day) if it does not exist on when run, but should fall back on built-in templates if no custom templates are defined. If a custom template does not exist, stop program execution and alert the user.

a) Custom sections:

# ~/.evertils/config.yml
sections:
    EOD:
        - Item one
        - Item two
    JIRA links:
        - link one
        - link two

b) Custom templates:

# ~/.evertils/config.yml
templates:
    Daily:
        ~/.evertils/templates/daily.yml
    Weekly:
       ~/.evertils/templates/weekly.yml