ckb-cli
ckb-cli copied to clipboard
interactive mode ignored cli flag
when using the interactive mode , the FLAG options are ignored
eg:
root@6fb00f2fd2f2:~# ckb-cli --no-sync
_ _ ______ _____ __ __ ____ _____
| \ | | | ____| | __ \ \ \ / / / __ \ / ____|
| \| | | |__ | |__) | \ \ / / | | | | | (___
| . ` | | __| | _ / \ \/ / | | | | \___ \
| |\ | | |____ | | \ \ \ / | |__| | ____) |
|_| \_| |______| |_| \_\ \/ \____/ |_____/
[ ckb-cli version ]: 0.100.0 (3d23e8b 2021-09-15)
[ url ]: http://127.0.0.1:8114 (network: Dev)
[ pwd ]: /root
[ color ]: true
[ debug ]: true
[ no-sync ]: false
[ output format ]: yaml
[ completion style ]: List
[ edit style ]: Emacs
[ index db state ]: Waiting for first query
the no-sync option still false. I found I can change this using config --no-sync or edit the config file .
IMHO, the command line flag should override the config file
I think the config in interactive mode should reflected the config file. Interactive mode should not passing any arguments.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.