Provided by: miio-tools_0.5.0.1-2_all 

NAME
miplug - A tool to command Xiaomi Smart Plug.
SYNOPSIS
miplug [OPTIONS] COMMAND [ARGS]...
DESCRIPTION
A tool to command Xiaomi Smart Plug.
OPTIONS
--ip TEXT
--token TEXT
-d, --debug
--help
Show this message and exit.
Commands:
discover
Search for plugs in the network.
off Power off.
on Power on.
raw-command
Run a raw command.
status Returns the state information.
miplug 0.5.0.1 September 2021 MIPLUG(1)