mirror of
https://github.com/pushbits/cli.git
synced 2025-07-23 11:43:00 +02:00
24 lines
515 B
Go
24 lines
515 B
Go
package user
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/pushbits/cli/cmd/settings"
|
|
)
|
|
|
|
type createCommand struct {
|
|
Arguments struct {
|
|
Name string `positional-arg-name:"name" description:"The name of the user"`
|
|
MatrixID string `positional-arg-name:"matrixid" description:"The Matrix ID of the user"`
|
|
} `required:"true" positional-args:"true"`
|
|
}
|
|
|
|
func (c *createCommand) Execute(args []string) error {
|
|
settings.Runner = c
|
|
return nil
|
|
}
|
|
|
|
func (c *createCommand) Run(s settings.Settings) {
|
|
log.Printf("createCommand")
|
|
}
|