Add cobra root command

This commit is contained in:
Miguel de la Cruz 2020-02-28 23:54:14 +01:00
parent 54902edaf4
commit c291c97cb2
64 changed files with 9722 additions and 2 deletions

19
cmd/root.go Normal file
View file

@ -0,0 +1,19 @@
package cmd
import (
"fmt"
"os"
"github.com/spf13/cobra"
)
var RootCmd = &cobra.Command{
Use: "campaigner",
Short: "Create and manage Open Source campaigns",
}
func Execute() {
if err := RootCmd.Execute(); err != nil {
fmt.Fprintln(os.Stderr, err)
}
}