near / near-cli

General purpose command line tools for interacting with NEAR Protocol
https://docs.near.org
MIT License
193 stars 93 forks source link

Fix for https://github.com/near/near-cli/issues/786 #913

Open june07 opened 2 years ago

june07 commented 2 years ago

If the seed phrase is used on the command line regardless of position, the seed-phrase middleware creates a key and adds it to the keystore. This change considers that fact and eliminates output of the confusing message.

Also added the seedPhrase yargs option as it seems to be supported per how things work and even per the comment here: https://github.com/near/near-cli/blob/63cd30cc27a3cefd9ff48c6d4e9b4b26816bb0ed/middleware/seed-phrase.js#L8

june07 commented 2 years ago

🎤 ✔️ 12...

june07 commented 2 years ago

Any feedback on this one?

willemneal commented 2 years ago

@volovyk-s