Command Line Interface for YXY
Rust
development environment. Build & install.
bash
cargo install -f yxy-cli
The following uses
yxy
to represent the main program
Query electricity by conf
conf.yaml
file is located in the current working directory
bash
yxy-cli
Or in other place
bash
yxy-cli -c <PATH>
Other Queries
UID
Get UID by simulating app login, so you need to register yxy app account first.
bash
yxy-cli query uid <phone number>
Electricity
(Simply query by UID without config file)
bash
yxy-cli query ele <UID>