ethereum / staking-deposit-cli

Secure key generation for deposits
Creative Commons Zero v1.0 Universal
532 stars 330 forks source link

non-interactive usage ? #250

Open garyng2000 opened 2 years ago

garyng2000 commented 2 years ago

is there a way to use this in non-interactive way especially the 'existing-mnemonic' command ? I see there is supposed to be options but then there are 'confirmation' all over the place even if they have been provided.

garyng2000 commented 2 years ago

what is the procedure to build the single file binary ? I have successfully changed the python code to not doing the prompt thing but don't know how to produce a single file binary

garyng2000 commented 2 years ago

nvm, found it

wackerow commented 2 years ago

@garyng2000 Sorry for delay, but sounds like you figured this out. If you're all set here, please go ahead and close this issue. Thanks!

VVander commented 12 months ago

@wackerow I don't think this issue is resolved. I noticed today as I was setting up a dockerfile using the most recent release (v2.7.0) that the --non_interactive flag doesn't seem to do much. When making a new mnemonic, it still prompts the user to select a language, for example, unless you supply the --language flag.

@garyng2000 if you still have the edits locally, would you mind making a PR?

garyng2000 commented 12 months ago

pull from my repo, it is tracking this