doc: readme
This commit is contained in:
@@ -18,7 +18,8 @@ USAGE:
|
|||||||
COMMANDS:
|
COMMANDS:
|
||||||
message send a message using <JID> <MESSAGE>
|
message send a message using <JID> <MESSAGE>
|
||||||
getgroups print all available group info
|
getgroups print all available group info
|
||||||
poll send a poll using <JID> <HEADER> <OPTIONS> ; requires a group ID
|
poll send a poll to a group using <JID> <HEADER> <OPTIONS>
|
||||||
|
image send an image using <JID> <PATH> <CAPTION>
|
||||||
help, h Shows a list of commands or help for one command
|
help, h Shows a list of commands or help for one command
|
||||||
|
|
||||||
GLOBAL OPTIONS:
|
GLOBAL OPTIONS:
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ func main() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "poll",
|
Name: "poll",
|
||||||
Usage: "send a poll using <JID> <HEADER> <OPTIONS>",
|
Usage: "send a poll to a group using <JID> <HEADER> <OPTIONS>",
|
||||||
Arguments: []cli.Argument{
|
Arguments: []cli.Argument{
|
||||||
&cli.StringArg{Name: "jid", Destination: &jidStr},
|
&cli.StringArg{Name: "jid", Destination: &jidStr},
|
||||||
&cli.StringArg{Name: "header", Destination: &header},
|
&cli.StringArg{Name: "header", Destination: &header},
|
||||||
|
|||||||
Reference in New Issue
Block a user