Initial project structure

This commit is contained in:
2023-05-04 16:55:21 -06:00
parent d4f67832da
commit c47305126b
6 changed files with 60 additions and 1 deletions

25
cmd/root.go Normal file
View File

@ -0,0 +1,25 @@
package cmd
import (
"fmt"
"os"
"github.com/spf13/cobra"
)
var rootCmd = &cobra.Command{
Use: "govpn",
Short: "CLI tool to manage OpenVPN clients.",
Long: `A fast and lightweight CLI tool to manage multiple OpenVPN client
instances`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("This is a test.")
},
}
func Execute() {
if err := rootCmd.Execute(); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}