Ankermgmt / ankermake-m5-protocol

Ankermake M5 protocol specifications and libraries *NOT AFFILIATED WITH ANKER*
GNU General Public License v3.0
161 stars 34 forks source link

Add autodiscover to config decode #10

Closed spuder closed 1 year ago

spuder commented 1 year ago

Before

./ankerctl.py config decode
Usage: ankerctl.py config decode [OPTIONS] path/to/login.json
Try 'ankerctl.py config decode -h' for help.

After

 ./ankerctl.py config decode
[*] Loading file..
{
    'ab_code': 'US',
    REDACTED

Related to https://github.com/Ankermgmt/ankermake-m5-protocol/pull/8

chrivers commented 1 year ago

Excellent - looks super clean after the rebase. Thank you very much! :)