Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Some questions cannot be answered from the command line #374

Open
segfaultxavi opened this issue Apr 7, 2021 · 1 comment
Open

Some questions cannot be answered from the command line #374

segfaultxavi opened this issue Apr 7, 2021 · 1 comment

Comments

@segfaultxavi
Copy link
Contributor

For example, account generate always asks Do you want to save the account?. The Yes answer can be provided from the command line via --save, but there is no way to provide the No answer.
Another example, all transaction commands ask Do you want to announce this transaction?. The Yes answer can be provided from the command line via --announce, but there is no way to provide the No answer.

A possible solution would be that these parameters (--save and --announce) accepted a negative version (--no-save and --no-announce) so the question can be skipped completely.

This is useful for guides and unattended scripts.

@segfaultxavi
Copy link
Contributor Author

In a more general note, I'd like ALL questions to be answerable from the command line.
For example, account generate asks Select an import type which cannot be provided from a parameter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant