polycule-connect/polyculeconnect/cmd/backend/backend.go
Melora Hugues 3ca1a9a51c
Some checks failed
/ go-test (push) Failing after 51s
/ docker-build-only (push) Successful in 1m41s
Chore: remove generated cobra comments and improve help messages
2024-08-10 16:27:49 +02:00

25 lines
512 B
Go

package cmd
import (
"fmt"
"git.faercol.me/faercol/polyculeconnect/polyculeconnect/cmd"
"github.com/spf13/cobra"
)
var backendCmd = &cobra.Command{
Use: "backend",
Short: "Handle authentication backends",
Long: `Add, Remove or Show currently installed authentication backends`,
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)
}