uauth/internal/cmd/client.go

17 lines
283 B
Go
Raw Permalink Normal View History

2024-10-23 17:46:15 +08:00
package cmd
import (
"github.com/spf13/cobra"
"uauth/internal/client"
)
func initClient() *cobra.Command {
return &cobra.Command{
Use: "client",
Short: "Run the client",
RunE: func(cmd *cobra.Command, args []string) error {
return client.Run(cmd.Context())
},
}
}