Feat: works on my machine
This commit is contained in:
18
auth.go
Normal file
18
auth.go
Normal file
@@ -0,0 +1,18 @@
|
||||
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", "")
|
||||
}
|
||||
Reference in New Issue
Block a user