mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-04 15:36:14 +02:00
Sample Importer: Handle data consistently whether from file or stdin
Importers: handle writing the journal to disk ourselves (rather than delegating to the plugin) Plugins: First pass at testing custom importer
This commit is contained in:
parent
183795d3f5
commit
7f5fbca658
5 changed files with 33 additions and 10 deletions
15
features/data/simple_import.json
Normal file
15
features/data/simple_import.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"entries" :
|
||||
[
|
||||
{
|
||||
"date" : "2013-06-09 15:39",
|
||||
"title" : "My first entry.",
|
||||
"body" : "Everything is alright"
|
||||
},
|
||||
{
|
||||
"date" : "2013-06-10 15:40",
|
||||
"title" : "Life is good.",
|
||||
"body" : "But I'm better."
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue