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

Allow specifying account name on import using flag #3754

Merged
merged 1 commit into from
Apr 6, 2023
Merged

Conversation

NullSoldier
Copy link
Contributor

Summary

This enables use of the --name flag which will override the import name
that comes from the data, or won't ask you for interactive import in the
case that you're importing a spend key only.

Testing Plan

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
what additional work is required, if any.

[ ] Yes

This enables use of the --name flag which will override the import name
that comes from the data, or won't ask you for interactive import in the
case that you're importing a spend key only.
@NullSoldier NullSoldier requested a review from a team as a code owner April 6, 2023 13:42
} else if (flags.path) {
account = await this.importFile(flags.path)
account = await this.importFile(flags.path, flags)
Copy link
Member

Choose a reason for hiding this comment

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

nit: I think we can just use flags as a single argument

@NullSoldier NullSoldier merged commit 1051b64 into staging Apr 6, 2023
@NullSoldier NullSoldier deleted the jason/test5 branch April 6, 2023 14:13
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.

2 participants