Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds account flag to wallet commands #4994

Merged
merged 2 commits into from
Jun 7, 2024

Conversation

hughy
Copy link
Contributor

@hughy hughy commented May 29, 2024

Summary

some wallet commands take 'account' as a positional argument when it may make more sense as a flag.

adds account flag to commands that list things for an account: assets, balances, notes, transactions

adds account flag where commands are oriented around a transaction rather than an account: wallet:transaction, wallet:transaction:watch

parse flags and args so that account flag is preferred, but account arg still accepted

updates arg description to display that argument is deprecated

Testing Plan

manual testing

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

some wallet commands take 'account' as a positional argument when it may make
more sense as a flag.

adds account flag to commands that list things for an account: assets, balances,
notes, transactions

adds account flag where commands are oriented around a transaction rather than
an account: wallet:transaction, wallet:transaction:watch

parse flags and args so that account flag is preferred, but account arg still accepted

updates arg description to display that argument is deprecated
@hughy hughy requested a review from a team as a code owner May 29, 2024 22:08
@hughy hughy merged commit 5c1b709 into staging Jun 7, 2024
9 checks passed
@hughy hughy deleted the feat/hughy/ifl-2535/wallet-cli-account-flags branch June 7, 2024 17:02
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.

3 participants