Repository navigation
refactor(cli): user show reuses the account commands' passkey and identity tables - #575
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 31 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
PiquelChips
marked this pull request as ready for review
November 20, 2026 08:31
PiquelChips
marked this pull request as draft
November 21, 2026 14:00
PiquelChips
marked this pull request as ready for review
November 21, 2026 14:26
user show printed its passkeys and linked identities with copies of the tables account passkeys list and account identities list print. It now calls those reports, and the client reports share one owner cell.
PiquelChips
force-pushed
the
refactor/544-operations-cli-reports
branch
from
November 21, 2026 16:56
ee40f76 to
614b50c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #544. Stacked on #569: its base is
refactor/544-operations-cli-reason.user showprinted passkeys and linked identities with its own copies of the tables thataccount <USER> passkeys listandaccount <USER> identities listprint.UserDetailholds the samePasskeyandIdentitytypes, so it now calls those reports, as it already did for known browsers. The client list and client details also built the sameOwnercell twice;ClientCommand::ownerbesideClientCommand::statusnow builds it once.cli/user.rsandcli/client.rshave little coverage).user showwith and without passkeys and identities (one passkey name tries to drive the terminal) andclient listwith and without an owner, in plain and colour mode. It ran against this branch and against its base (refactor(cli): changes share one --reason option per wording #569's files), and the outputs were byte-identical.Checks:
just fmt,cargo clippywith and without--all-features(-D warnings),cargo doc -D warnings, and thecli::tests (15 passed).Note
Written by Claude Opus 5.5 in Claude Code and reviewed by Claude Opus 5.5 (via T3 Code)
🤖 Generated with Claude Code