Skip to content

Commit c31d022

Browse files
derekscpagrasth
authored andcommitted
Update utils.go's jarsDocumentation link to the new link (#1348)
1 parent e5223ab commit c31d022

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

plugins/components/commandcomp.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,24 @@ func SetMandatoryFalse() StringFlagOption {
177177
}
178178
}
179179

180+
func SetMandatoryTrue() StringFlagOption {
181+
return func(f *StringFlag) {
182+
f.Mandatory = true
183+
}
184+
}
185+
180186
func WithBoolDefaultValueFalse() BoolFlagOption {
181187
return func(f *BoolFlag) {
182188
f.DefaultValue = false
183189
}
184190
}
185191

192+
func WithBoolDefaultValueTrue() BoolFlagOption {
193+
return func(f *BoolFlag) {
194+
f.DefaultValue = true
195+
}
196+
}
197+
186198
type BoolFlag struct {
187199
BaseFlag
188200
DefaultValue bool

utils/dependencies/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020

2121
const (
2222
ChecksumFileName = "checksum.sha2"
23-
jarsDocumentation = "https://docs.jfrog-applications.jfrog.io/jfrog-applications/jfrog-cli/cli-for-jfrog-artifactory/package-managers-integration#downloading-the-maven-and-gradle-extractor-jars"
23+
jarsDocumentation = "https://docs.jfrog-applications.jfrog.io/jfrog-applications/jfrog-cli/binaries-management-with-jfrog-artifactory/package-managers-integration#downloading-the-maven-and-gradle-extractor-jars"
2424
)
2525

2626
// Download the relevant build-info-extractor jar.

0 commit comments

Comments
 (0)