Please describe the feature you’d like to see added.
I would like to propose the addition of support for a configuration file specifically for the bitcoin-wallet tool. This feature would allow users to specify command-line options in a configuration file (e.g., wallet.conf), similar to how bitcoin.conf works for bitcoind. The configuration file should be automatically loaded by bitcoin-wallet if present in the default data directory or specified via a command-line option.
Is your feature related to a problem, if so please describe it.
Yes, this feature is related to the problem of having to repeatedly specify command-line options every time the bitcoin-wallet tool is used. For users who frequently interact with the bitcoin-wallet tool, it can be cumbersome and error-prone to enter the same options repeatedly, such as -datadir, -wallet, and debugging options.
Describe the solution you’d like
- Configuration File Support: Implement support for a wallet.conffile that can contain the various options and arguments currently passed via the command line.
- Automatic Loading: If a wallet.conffile is found in the default data directory, it should be automatically loaded by the bitcoin-wallet tool.
- Command-line Override: Allow users to specify an alternative configuration file location using a -conf=<file>command-line option.
- Option Precedence: Command-line options should take precedence over those specified in the configuration file, allowing for flexible and dynamic usage.
Describe any alternatives you’ve considered
No response
Please leave any additional context
No response