Closed peschmae closed 2 years ago
Hey @peschmae, thanks for your contribution!
In order to get this merged, we need you to sign-off your commits according to the contribution guidelines for the HedgeDoc organization. You can find more information on this here: https://github.com/hedgedoc/hedgedoc/blob/develop/CONTRIBUTING.md#certificate-of-origin
Hi @ErikMichelson Thanks for the feedback. I've amended the commit and force pushed, hope it's fine like that.
The hedgedoc API has an endpoint to export a ZIP archive of all notes for the user.
This pull request adds acess to that API endpoint as 'backup' command, since the export command is already used to export a single note.
Since this CLI only interacts with the API, I'd argue that 'backup' is fine as a name, and wont be confused with a proper backup command that would create a database dump & archive with all the uploads