Skip to content

Conversation

@juan-malbeclabs
Copy link
Contributor

Summary of Changes

  • Add Contributor field on List & Get commands for Devices & Links

Testing Verification

test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

@juan-malbeclabs juan-malbeclabs requested a review from Copilot July 30, 2025 11:02
@juan-malbeclabs juan-malbeclabs linked an issue Jul 30, 2025 that may be closed by this pull request
Copy link

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 contributor information to the display output of link and device list/get commands. The changes enable users to see which contributor is associated with each device and link in the CLI output.

Key changes:

  • Add contributor_code field to display structs for links and devices
  • Integrate ListContributorCommand to fetch contributor data for code resolution
  • Update both tabular and JSON output formats to include contributor information

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
smartcontract/cli/src/link/list.rs Adds contributor field to LinkDisplay struct and fetches contributor data to resolve contributor codes
smartcontract/cli/src/link/get.rs Updates link get command output to display contributor public key
smartcontract/cli/src/device/list.rs Adds contributor field to DeviceDisplay struct and fetches contributor data to resolve contributor codes
smartcontract/cli/src/device/get.rs Updates device get command output to display contributor public key

@juan-malbeclabs juan-malbeclabs merged commit 1b13a2a into main Jul 30, 2025
15 checks passed
@juan-malbeclabs juan-malbeclabs deleted the jo/982 branch July 30, 2025 11:32
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.

Show Contributor on Device & Link List & Get commands

4 participants