yxy-cli 0.1.1

Command Line Interface for YXY
yxy-cli-0.1.1 is not a library.
Visit the last successful build: yxy-cli-0.2.0

YXY CLI   crates badge

Command Line Interface for YXY

Installation

  1. Prepare Rust development environment.

  2. Build & install.

    cargo install -f yxy-cli
    

Features

The following uses yxy to represent the main program

  1. Query electricity by conf

    conf.yaml.example

    • conf.yaml file is located in the current working directory

      yxy-cli
      
    • Or in other place

      yxy-cli -c <PATH>
      
  2. Other Queries

    1. UID

      Get UID by simulating app login, so you need to register yxy app account first.

      yxy-cli query uid <phone number>
      
    2. Electricity

      (Simply query by UID without config file)

      yxy-cli query ele <UID>