github.com/henvic/wedeploycli@v1.7.6-0.20200319005353-3630f582f284/defaults/defaults.go (about) 1 package defaults 2 3 // don't change this to const as it would make go build -ldflags fail silently 4 var ( 5 // Version of the Liferay Cloud Platform CLI tool 6 Version = "master" 7 8 // Build commit 9 Build = "" 10 11 // BuildTime is the time when the build was generated 12 BuildTime = "" 13 14 // Infrastructure is the default remote address 15 Infrastructure = "liferay.cloud" 16 17 // DashboardAddressPrefix for a given remote 18 DashboardAddressPrefix = "console." 19 20 // DashboardURLPrefix for a given remote 21 DashboardURLPrefix = "https://" + DashboardAddressPrefix 22 23 // DiagnosticsEndpoint is the endpoint to where the diagnostics should be sent 24 DiagnosticsEndpoint = "https://cli-metrics.wedeploy.com/diagnostics/report" 25 26 // AnalyticsEndpoint for posting analytics events in bulk 27 AnalyticsEndpoint = "https://cli-metrics.wedeploy.com/metrics/bulk" 28 29 // CloudRemote is the name for the default cloud for Liferay Cloud 30 CloudRemote = "lcp" 31 32 // StableReleaseChannel for the distribution of the CLI tool 33 StableReleaseChannel = "stable" 34 ) 35 36 // MousetrapHelpText is used by cobra to show an error message when the user tries to use the CLI 37 // without a terminal open (i.e., double-clicking on Windows Explorer) 38 const MousetrapHelpText = `This is a command line tool. 39 40 You need to open this using a terminal/console application. 41 42 If you want to learn how to use the CLI for Liferay Cloud, please see: 43 https://help.liferay.com/hc/en-us/articles/360015214691-Command-line-Tool`