2023-10-29 12:31:52 +00:00
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"git.faercol.me/faercol/polyculeconnect/polyculeconnect/cmd"
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
var backendCmd = &cobra.Command{
|
|
|
|
Use: "backend",
|
2024-08-10 14:27:49 +00:00
|
|
|
Short: "Handle authentication backends",
|
|
|
|
Long: `Add, Remove or Show currently installed authentication backends`,
|
2023-10-29 12:31:52 +00:00
|
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
|
|
fmt.Println("backend called")
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
func printProperty(key, value string) {
|
|
|
|
fmt.Printf("\t- %s: %s\n", key, value)
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
cmd.RootCmd.AddCommand(backendCmd)
|
|
|
|
}
|