-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Is there an existing issue for this?
- I have searched the existing issues
New feature
As a CLI wallet user I'd like to be able to specify an RPC endpoint and still connect to it even if a .koinosrc file is present that contains a connect command.
Current behavior if a .koinosrc file is present and you use the -r option:

Once there is a global RC file implemented for system-wide package manager installs (separate related issue #157) then there will be no way around this and -r will never work for me because a .koinosrc file will always be loaded no matter what.
If a .koinosrc file is present in either the local or global locations and -r is specified a message should also be displayed saying Ignoring koinosrc file because an RPC endpoint was specified with -r
Anything else?
I believe that this should be only for the -r command line argument but could potentially just be all command line arguments.
It should skip loading the entire .koinosrc file because contract addresses specified in it may be incorrect if you are connecting to a different endpoint (and this helps to keep the app chain agnostic while still delivering a good user experience for average mainnet users).