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