polycule-connect/polyculeconnect/cmd/backend/backend.go
Melora Hugues 344589829b
Some checks failed
/ docker-build-only (push) Successful in 1m58s
/ docker-build-push (push) Failing after 9s
/ go-test (push) Successful in 1m8s
Chore: remove generated cobra comments and improve help messages
2024-08-10 16:41:55 +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)
}