Skip to content

Initial support for json output#400

Merged
jLantxa merged 9 commits intofuturefrom
feature/json
Feb 1, 2026
Merged

Initial support for json output#400
jLantxa merged 9 commits intofuturefrom
feature/json

Conversation

@jLantxa
Copy link
Owner

@jLantxa jLantxa commented Feb 1, 2026

Implement the json reporter and support the most important commands.

  • init
  • log
  • snapshot
  • forget

cmd_clean is not so important for now and cmd_restore will be redesigned soon.

@jLantxa jLantxa linked an issue Feb 1, 2026 that may be closed by this pull request
@jLantxa jLantxa changed the base branch from main to future February 1, 2026 00:45
@jLantxa jLantxa marked this pull request as draft February 1, 2026 00:51
@jLantxa jLantxa changed the title json output Initial support for json output Feb 1, 2026
@jLantxa jLantxa added this to the v0.2.0 milestone Feb 1, 2026
@jLantxa jLantxa added this to mapache Feb 1, 2026
@jLantxa jLantxa added the impl: feature New feature or request label Feb 1, 2026
@jLantxa jLantxa moved this to In progress in mapache Feb 1, 2026
@jLantxa
Copy link
Owner Author

jLantxa commented Feb 1, 2026

  • The snapshot commands needs some refactoring. To separate reporting from stats collection, we need a status struct and a reporter. The CLI and JsonSnapshot reporter must be separate and we choose the reporter in cmd_snapshot.
  • Restore might need the same refactor, but since we're redesigning it, there's no need yet.
  • cmd_clean can also wait too.

@jLantxa jLantxa moved this from In progress to In review in mapache Feb 1, 2026
@jLantxa jLantxa marked this pull request as ready for review February 1, 2026 18:33
@jLantxa jLantxa merged commit b9848e4 into future Feb 1, 2026
@jLantxa jLantxa deleted the feature/json branch February 1, 2026 19:20
@github-project-automation github-project-automation bot moved this from In review to Done in mapache Feb 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

impl: feature New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

json output

1 participant