Semaphore/cli/cmd/user.go
2021-08-28 16:44:41 +05:00

30 lines
393 B
Go

package cmd
import (
"github.com/spf13/cobra"
"os"
)
type userArgs struct {
login string
name string
email string
password string
admin bool
}
var targetUserArgs userArgs
func init() {
rootCmd.AddCommand(userCmd)
}
var userCmd = &cobra.Command{
Use: "user",
Short: "Manage users",
Run: func(cmd *cobra.Command, args []string) {
_ = cmd.Help()
os.Exit(0)
},
}