Skip to content

Add user update command#59

Merged
robzolkos merged 1 commit intomasterfrom
add-user-update
Mar 2, 2026
Merged

Add user update command#59
robzolkos merged 1 commit intomasterfrom
add-user-update

Conversation

@robzolkos
Copy link
Copy Markdown
Collaborator

Summary

  • Adds fizzy user update USER_ID with --name and --avatar flags
  • Uses JSON PATCH for name-only updates, multipart PATCH when avatar is provided
  • Adds PatchMultipart method to client interface for multipart form data PATCH requests
  • E2E tests use FIZZY_TEST_USER_ID env var (tests skip gracefully if unset)
  • Unit tests cover: name update, avatar update, name+avatar combo, missing flags error
  • E2E tests cover: name update + verify, restore name, avatar upload + verify, name+avatar combo, not-found error

Adds `fizzy user update USER_ID --name "Name" --avatar /path/to/image.jpg`.
Uses JSON PATCH for name-only updates and multipart PATCH for avatar uploads.
Adds PatchMultipart to the client interface for multipart form data PATCH requests.
E2E tests require FIZZY_TEST_USER_ID env var (skipped if unset).
@robzolkos robzolkos merged commit 0155433 into master Mar 2, 2026
1 check passed
@robzolkos robzolkos deleted the add-user-update branch March 2, 2026 20:31
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