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

Suggestion: Add a silent switch for mojo.jar command line "Init". #74

Open
jbreeher opened this issue Feb 24, 2021 · 0 comments
Open

Suggestion: Add a silent switch for mojo.jar command line "Init". #74

jbreeher opened this issue Feb 24, 2021 · 0 comments

Comments

@jbreeher
Copy link

jbreeher commented Feb 24, 2021

Currently while running commands against the mojo.jar, such as java -jar mojo.jar init I can't find a way to supress the output.

Example:
C:\Mochimo\Test>java -jar mojo-2.4-0-20200115.jar init -mp "mp1" -mw "aa bb cc dd ee ff gg hh ii jj kk ll mm nn oo pp qq rr ss tt uu vv ww xx" -n "TestWallet1" -p "TestWallet1" testwallet1.mcm
Recovery mnemonic:
"aa bb cc dd ee ff gg hh ii jj kk ll mm nn oo pp qq rr ss tt uu vv ww xx"
Recovery mnemonic passphrase (required to restore): [***]

Do you want to use this mnemonic and passphrase ? (y/n)
y

Take the time to secure your mnemonic words and passphrase. THEY WON'T BE SHOWN AGAIN. Press 'y' to continue
y

I have tried adding -v, -vv, -vvv to see how the "verbose" switch affects the output, but there is no change.

The displayed information and inclusion of the two questions and y/n answers are much more difficult to parse using automation. Recommending a feature to have a "-s" or silent tag to suppress the follow-on questions and potentially the entire input. Or implementing verbosity levels with -v being silent, -vv being a simple "success | fail" output, and -vvv (default) being the current output.

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

No branches or pull requests

1 participant