243f4eac0aaf3def57b3a1107ff8db67749609e7 Add -h/--help args to the GUI (pythcoiner)
Pull request description:
```shell
$ liana-gui -h
Usage: liana-gui [OPTIONS]
Options:
--conf <PATH> Path of configuration file (gui.toml)
--datadir <PATH> Path of liana datadir
-v, --version Display liana-gui version
-h, --help Print help
--bitcoin Use bitcoin network
--testnet Use testnet network
--signet Use signet network
--regtest Use regtest network
```
Closes #1073
ACKs for top commit:
jp1ac4:
Tested ACK 243f4eac0aaf3def57b3a1107ff8db67749609e7.
Tree-SHA512: a046966f40da178fd736bcbe0e8042b03fc671baafab71ea3e1413ece3667f915d40f40437c10ecdd27476454d3e552760ac0d2c5d5bc8b21a0b519980cfa9b6
Liana GUI
The Liana graphical interface.
Dependencies
You will need a few dependencies in order to run correctly this software. For Linux systems, those are:
fontconfigfor access to fonts (On Debian/Ubuntuapt install libfontconfig1-dev)libudev-devto communicate with devices through USB (On Debian/Ubuntuapt install libudev-dev)
In addition, if you want to build the project from source, you will need:
pkg-config(On Debian/Ubuntuapt install pkg-config)
Usage
For a quick guide to try out the software see ../doc/TRY.md.
liana-gui --datadir <datadir> --<network>
The default datadir is the same as for lianad (~/.liana for Linux). The default network is
Bitcoin mainnet, but testnet signet and regtest are supported.
If the software is started with no parameter and no data directory is detected, a Liana installer will be spawned that will guide you in the processing of configuring Liana.
If the software is started and a reachable lianad is running, it will plug to it via lianad's
JSONRPC interface.
The environment variable LOG_LEVEL with values error, warn, info, debug, trace, overrides the log settings from the config file.
Troubleshooting
- If you encounter layout issue on
X11, try to start the GUI withWINIT_X11_SCALE_FACTORmanually set to 1