github.com/jfrog/jfrog-cli-go@v1.22.1-0.20200318093948-4826ef344ffd/utils/cliutils/cli_consts.go (about) 1 package cliutils 2 3 const ( 4 // General CLI constants 5 CliVersion = "1.35.1" 6 ClientAgent = "jfrog-cli-go" 7 OnErrorPanic OnError = "panic" 8 9 // CLI base commands constants: 10 CmdArtifactory = "rt" 11 CmdBintray = "bt" 12 CmdMissionControl = "mc" 13 CmdXray = "xr" 14 CmdCompletion = "completion" 15 16 // Download 17 DownloadMinSplitKb = 5120 18 DownloadSplitCount = 3 19 DownloadMaxSplitCount = 15 20 21 // Common 22 Retries = 3 23 TokenRefreshDisabled = 0 24 TokenRefreshDefaultInterval = 60 25 26 // Env 27 ReportUsage = "JFROG_CLI_REPORT_USAGE" 28 LogLevel = "JFROG_CLI_LOG_LEVEL" 29 OfferConfig = "JFROG_CLI_OFFER_CONFIG" 30 HomeDir = "JFROG_CLI_HOME_DIR" 31 ErrorHandling = "JFROG_CLI_ERROR_HANDLING" 32 TempDir = "JFROG_CLI_TEMP_DIR" 33 CI = "CI" 34 DependenciesDir = "JFROG_CLI_DEPENDENCIES_DIR" 35 BuildName = "JFROG_CLI_BUILD_NAME" 36 BuildNumber = "JFROG_CLI_BUILD_NUMBER" 37 BuildUrl = "JFROG_CLI_BUILD_URL" 38 EnvExclude = "JFROG_CLI_ENV_EXCLUDE" 39 UserAgent = "JFROG_CLI_USER_AGENT" 40 // Deprecated: 41 JfrogHomeEnv = "JFROG_CLI_HOME" 42 )