forked from solana-labs/solana-program-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement multiple output format for spl-stake-pool list-all (solana-…
…labs#2558) * Implement json output formats for spl-stake-pool list-all * Implement --output json or json-compact or display in list-all cmd * cleanup: use destructuring instead of tuple * Fix related to PR comments * Add json and json-compact output for list command * implement list command display with Display and VerboseDisplay * make CliStakePool->details optional * cleanup use * Update stake-pool/cli/src/main.rs Co-authored-by: Tyera Eulberg <[email protected]> * Update stake-pool/cli/src/main.rs Co-authored-by: Tyera Eulberg <[email protected]> * clippished * fix use * fix fmt issue Co-authored-by: Julien Piccaluga <[email protected]> Co-authored-by: Tyera Eulberg <[email protected]>
- Loading branch information
1 parent
707382e
commit cd63580
Showing
5 changed files
with
581 additions
and
146 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.