{"modulePath":"github.com/hostinger/api-cli","version":"v1.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cmd\n\n## Variables\n\n```go\nvar (\n\tOutputFormat string\n)\n```\n\n```go\nvar RootCmd = \u0026cobra.Command{\n\tUse:   \"hapi\",\n\tShort: \"Hostinger API Command Line Interface\",\n\tLong:  ``,\n}\n```\n\n```go\nvar VersionCmd = \u0026cobra.Command{\n\tUse:   \"version\",\n\tShort: \"Show the current version\",\n\tRun: func(cmd *cobra.Command, args []string) {\n\t\tfmt.Println(utils.CLIVersion.String(true))\n\t},\n}\n```\n\n## Functions\n\n```go\nfunc Execute()\n```\nExecute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.\n\n","path":"github.com/hostinger/api-cli/cmd","name":"cmd","synopsis":"","isRedistributable":true}
