Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { if o.optApiDomain != "" && o.optWebDomain != "" { server() } else if o.optWebDomain != "" { fmt.Printf("Need --api-domain flag\n") } else if o.optApiDomain != "" { fmt.Printf("Need --page-domain flag\n") } else { fmt.Printf("Ogpify %s\n", lib.Version()) fmt.Printf("✨ Thank you for installing Ogpify!!\n") fmt.Printf("Please run the help command for usage. \nRun:\n") color.New(color.Bold).Printf("\t" + color.BlueString("$ ") + "ogpify --help\n") } }, }
Functions ¶
This section is empty.
Types ¶
type CmdOptions ¶
type CmdOptions struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.