muldap/cmd/root.go
2018-07-14 13:49:16 -04:00

25 lines
471 B
Go

package cmd
import (
"fmt"
"os"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "muldap",
Short: "muldap is Metaunix.net's LDAP management tool",
Long: "LDAP management tool for Metaunix.net user and group resources.",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Metaunix.net LDAP tool - available commands are: version")
},
}
func Execute() {
if err := rootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}