arguments.go
1package commands
2
3// ShowArgumentsDialogMsg is a message that is sent to show the arguments dialog.
4type ShowArgumentsDialogMsg struct {
5 CommandID string
6 Content string
7 ArgNames []string
8}
9
10// CloseArgumentsDialogMsg is a message that is sent when the arguments dialog is closed.
11type CloseArgumentsDialogMsg struct {
12 Submit bool
13 CommandID string
14 Content string
15 Args map[string]string
16}