Skip to content

Want --json output for forget. #3117

@irishburlybear

Description

@irishburlybear

Output of restic version

restic 0.11.0 compiled with go1.15.3 on windows/amd64

What should restic do differently? Which functionality do you think we should add?

output of forget should have an option for --json

repository a3aca485 opened successfully, password is correct
[0:00] 100.00% 1 / 1 files deleted

What are you trying to do? What problem would this solve?

Trying to hook up stdout to a restic GUI I'm making.
Forget is pretty quick for most I assume, but for bigger
repos, It would be nice to give some feedback to the user.
There is already a percentage and a file count. Just need it to
be json so I can stream stdout the results.

Did restic help you today? Did it make you happy in any way?

restic always impresses me. I'm just trying to make it more user friendly for the masses.
I'm currently making an electron app. I know everyone hates electron but I see it's the only way to
be platform agnostic.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions