Files
pushbits-cli/cmd/user/create.go
2021-01-14 17:42:30 +01:00

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")
}