.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.14. .TH MIPLUG "1" "February 2019" "miplug 0.4.4" "User Commands" .SH NAME miplug - A tool to command Xiaomi Smart Plug. .SH SYNOPSIS .B miplug [\fI\,OPTIONS\/\fR] \fI\,COMMAND \/\fR[\fI\,ARGS\/\fR]... .SH DESCRIPTION .IP A tool to command Xiaomi Smart Plug. .SH OPTIONS .HP \fB\-\-ip\fR TEXT .HP \fB\-\-token\fR TEXT .HP \fB\-d\fR, \fB\-\-debug\fR .TP \fB\-\-help\fR Show this message and exit. .SS "Commands:" .TP discover Search for plugs in the network. .TP off Power off. .TP on Power on. .TP raw\-command Run a raw command. .TP status Returns the state information.