@@ -71,19 +71,27 @@ listening on a socket.`,
71
71
To make it easier to configure this tool for multiple workflows, most of the
72
72
settings can be set via environment variables as well as flags.
73
73
74
- Flag Variable Format Default
75
- --cache-dir GOCACHE_DIR path (required)
76
- --bucket GOCACHE_S3_BUCKET string (required)
77
- --region GOCACHE_S3_REGION string based on bucket
78
- --prefix GOCACHE_KEY_PREFIX string ""
79
- --min-upload-size GOCACHE_MIN_SIZE int64 0
80
- --metrics GOCACHE_METRICS bool false
81
- --expiry GOCACHE_EXPIRY duration 0
82
- --socket GOCACHE_SOCKET path (required for "serve")
83
- -c GOCACHE_CONCURRENCY int runtime.NumCPU
84
- -u GOCACHE_S3_CONCURRENCY duration runtime.NumCPU
85
- -v GOCACHE_VERBOSE bool false
86
- --debug GOCACHE_DEBUG bool false
74
+ --------------------------------------------------------------------
75
+ Flag (global) Variable Format Default
76
+ --------------------------------------------------------------------
77
+ --cache-dir GOCACHE_DIR path (required)
78
+ --bucket GOCACHE_S3_BUCKET string (required)
79
+ --region GOCACHE_S3_REGION string based on bucket
80
+ --prefix GOCACHE_KEY_PREFIX string ""
81
+ --min-upload-size GOCACHE_MIN_SIZE int64 0
82
+ --metrics GOCACHE_METRICS bool false
83
+ --expiry GOCACHE_EXPIRY duration 0
84
+ -c GOCACHE_CONCURRENCY int runtime.NumCPU
85
+ -u GOCACHE_S3_CONCURRENCY duration runtime.NumCPU
86
+ -v GOCACHE_VERBOSE bool false
87
+ --debug GOCACHE_DEBUG bool false
88
+
89
+ --------------------------------------------------------------------
90
+ Flag (serve) Variable Format Default
91
+ --------------------------------------------------------------------
92
+ --socket GOCACHE_SOCKET path (required)
93
+ --modproxy GOCACHE_MODPROXY [host]:port ""
94
+ --sumdb GOCACHE_SUMDB host,... ""
87
95
` ,
88
96
}}),
89
97
command .VersionCommand (),
0 commit comments