mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
add cli export
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
afaee1cc0a
commit
8303b037fb
3 changed files with 147 additions and 0 deletions
|
@ -89,6 +89,11 @@ class EntriesExport
|
|||
throw new \InvalidArgumentException(sprintf('The format "%s" is not yet supported.', $format));
|
||||
}
|
||||
|
||||
public function exportJsonData()
|
||||
{
|
||||
return $this->prepareSerializingContent('json');
|
||||
}
|
||||
|
||||
/**
|
||||
* Use PHPePub to dump a .epub file.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue