Documentation ¶ Index ¶ Variables func Execute() func NewRootCommand() *cobra.Command Constants ¶ This section is empty. Variables ¶ View Source var NewVersionCmd = &cobra.Command{ Use: "version", Short: "Print the version number of Prompt-Ops", Run: func(cmd *cobra.Command, args []string) { fmt.Printf("Prompt-Ops version %s\n", version) }, } Functions ¶ func Execute ¶ func Execute() Execute adds all child commands to the root command and sets flags appropriately. func NewRootCommand ¶ func NewRootCommand() *cobra.Command Types ¶ This section is empty. Source Files ¶ View all Source files root.goversion.go Directories ¶ Show internal Expand all Path Synopsis conn cloud db factory k8s Click to show internal directories. Click to hide internal directories.