19 lines
302 B
Go
19 lines
302 B
Go
package main
|
|
|
|
import (
|
|
"gitea.konchin.com/ytshih/inp2025/workflows"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var authCmd = &cobra.Command{
|
|
Use: "auth",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
workflows.AuthServer()
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
authCmd.Flags().
|
|
String("listen-addr", "localhost:8888", "")
|
|
}
|