package commands import ( "fmt" "os" "github.com/spf13/cobra" ) var rootCmd = &cobra.Command{ Use: "lenore", Short: "lenore is a single-user ActivityPub instance", Long: "...", } func init() { rootCmd.AddCommand(AppCmd) } func Execute() { if err := rootCmd.Execute(); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } }