Skip to content

Comments

feat: Adds view-credential command#96

Merged
macterra merged 1 commit intomainfrom
93-view-credential
Feb 18, 2026
Merged

feat: Adds view-credential command#96
macterra merged 1 commit intomainfrom
93-view-credential

Conversation

@macterra
Copy link
Collaborator

No description provided.

@macterra macterra linked an issue Feb 18, 2026 that may be closed by this pull request
@macterra macterra requested a review from Copilot February 18, 2026 20:25
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22156295019

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.423%

Totals Coverage Status
Change from base Build 22154652673: 0.0%
Covered Lines: 3404
Relevant Lines: 3502

💛 - Coveralls

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new view-credential CLI command that displays verifiable credentials in a human-readable format. The command complements the existing get-credential command, which outputs raw JSON, by providing formatted output with field labels and proof verification.

Changes:

  • Adds view-credential <did> command that decrypts and displays credentials with formatted labels for type, issuer, subject, validity dates, schema, claims, and proof status
  • Updates help reference documentation and test expectations to include the new command
  • Implements the command in both JavaScript (archon-cli.js) and TypeScript (cli.ts) versions with consistent behavior

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
tests/kc_help_reference.txt Adds help text entry for view-credential command in alphabetical order
tests/cli/help.test.ts Adds view-credential to the list of expected commands checked by the help test
scripts/archon-cli.js Implements view-credential command in JavaScript CLI with formatted credential display and proof verification
packages/keymaster/src/cli.ts Implements view-credential command in TypeScript CLI with formatted credential display and proof verification

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@macterra macterra merged commit 560a472 into main Feb 18, 2026
19 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.

Add view-credential to CLI

2 participants