{"action":"created","issue":{"url":"https://api.github.com/repos/manuelRiel/invoice2data/issues/5","labels_url":"https://api.github.com/repos/manuelRiel/invoice2data/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/manuelRiel/invoice2data/issues/5/comments","events_url":"https://api.github.com/repos/manuelRiel/invoice2data/issues/5/events","html_url":"https://github.com/manuelRiel/invoice2data/issues/5","id":123916738,"number":5,"title":"Structure templates in yml files and allow multiple files","user":{"login":"manuelRiel","id":3916435,"avatar_url":"https://avatars.githubusercontent.com/u/3916435?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelRiel","html_url":"https://github.com/manuelRiel","followers_url":"https://api.github.com/users/manuelRiel/followers","following_url":"https://api.github.com/users/manuelRiel/following{/other_user}","gists_url":"https://api.github.com/users/manuelRiel/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelRiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelRiel/subscriptions","organizations_url":"https://api.github.com/users/manuelRiel/orgs","repos_url":"https://api.github.com/users/manuelRiel/repos","events_url":"https://api.github.com/users/manuelRiel/events{/privacy}","received_events_url":"https://api.github.com/users/manuelRiel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/manuelRiel/invoice2data/labels/type:feature","name":"type:feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-26T08:33:57Z","updated_at":"2016-01-23T06:17:01Z","closed_at":null,"body":"First the current `template.py` is really a data structure, rather than Python code. It should be in json or even better YAML. Next it should be possible to add separate templates, depending on the current project."},"comment":{"url":"https://api.github.com/repos/manuelRiel/invoice2data/issues/comments/174153377","html_url":"https://github.com/manuelRiel/invoice2data/issues/5#issuecomment-174153377","issue_url":"https://api.github.com/repos/manuelRiel/invoice2data/issues/5","id":174153377,"user":{"login":"manuelRiel","id":3916435,"avatar_url":"https://avatars.githubusercontent.com/u/3916435?v=3","gravatar_id":"","url":"https://api.github.com/users/manuelRiel","html_url":"https://github.com/manuelRiel","followers_url":"https://api.github.com/users/manuelRiel/followers","following_url":"https://api.github.com/users/manuelRiel/following{/other_user}","gists_url":"https://api.github.com/users/manuelRiel/gists{/gist_id}","starred_url":"https://api.github.com/users/manuelRiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manuelRiel/subscriptions","organizations_url":"https://api.github.com/users/manuelRiel/orgs","repos_url":"https://api.github.com/users/manuelRiel/repos","events_url":"https://api.github.com/users/manuelRiel/events{/privacy}","received_events_url":"https://api.github.com/users/manuelRiel/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T06:17:01Z","updated_at":"2016-01-23T06:17:01Z","body":"Implemented a new template system based on Yaml-files. By default it will use our existing templates, but you can also point it to an external folder. Like\r\n\r\n`python3 -m invoice2data.main --debug --template-folder invoice2data/templates invoice2data/test/pdfs/*`\r\n\r\nOther changes:\r\n- switched to external dateparser which should be more reliable\r\n- Input files are no longer read in Python, but in the shell with wildcards. E. g. `invoice2data/test/pdfs/*`. Better separation. @alexis-via \r\n\r\nCommit: 86785c9"}}