Skip to content

Add JSON output support to rm and restore#266

Merged
AndreyVMarkelov merged 1 commit into
masterfrom
rm-json-output
Jun 22, 2026
Merged

Add JSON output support to rm and restore#266
AndreyVMarkelov merged 1 commit into
masterfrom
rm-json-output

Conversation

@AndreyVMarkelov

@AndreyVMarkelov AndreyVMarkelov commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add structured JSON output for rm
  • add structured JSON output for restore
  • share Dropbox metadata path fallback between commands
  • document migrated command examples in README

Validation

  • go test ./cmd
  • go test ./...
  • go vet ./...
  • git diff --check origin/master...HEAD

@AndreyVMarkelov AndreyVMarkelov changed the title Rm json output Add JSON output support to rm and restore Jun 22, 2026
Migrate rm and restore to structured output rendering. In JSON mode, rm emits a results array with input flags and Dropbox metadata for each deleted target, while restore emits the requested revision and restored file metadata.

Share the Dropbox metadata path-display fallback and document the migrated command examples.
@AndreyVMarkelov AndreyVMarkelov merged commit 3dc75e1 into master Jun 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant