Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/artifactory/cocoapodsconfig/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package cocoapodsconfig
var Usage = []string{"rt cocoapods-config [command options]"}

func GetDescription() string {
return "Generate cocoapods build configuration."
return "Generate CocoaPods build configuration"
}
2 changes: 1 addition & 1 deletion docs/artifactory/dotnetconfig/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package dotnetconfig
var Usage = []string{"rt dotnet-config [command options]"}

func GetDescription() string {
return "Generate dotnet configuration."
return "Generate .NET configuration"
}
2 changes: 1 addition & 1 deletion docs/artifactory/goconfig/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package goconfig
var Usage = []string{"rt go-config [command options]"}

func GetDescription() string {
return "Generate go build configuration."
return "Generate Go build configuration"
}
2 changes: 1 addition & 1 deletion docs/artifactory/gradleconfig/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package gradleconfig
var Usage = []string{"rt gradle-config [command options]"}

func GetDescription() string {
return "Generate gradle build configuration."
return "Generate Gradle build configuration"
}
2 changes: 1 addition & 1 deletion docs/artifactory/mvnconfig/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package mvnconfig
var Usage = []string{"rt mvn-config [command options]"}

func GetDescription() string {
return "Generate maven build configuration."
return "Generate Maven build configuration"
}
2 changes: 1 addition & 1 deletion docs/artifactory/nugetconfig/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package nugetconfig
var Usage = []string{"rt nuget-config [command options]"}

func GetDescription() string {
return "Generate nuget configuration."
return "Generate NuGet configuration"
}
2 changes: 1 addition & 1 deletion docs/artifactory/pipconfig/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package pipconfig
var Usage = []string{"rt pip-config"}

func GetDescription() string {
return "Generate pip build configuration."
return "Generate pip build configuration"
Comment thread
agrasth marked this conversation as resolved.
Resolved
}
2 changes: 1 addition & 1 deletion docs/artifactory/terraformconfig/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package terraformconfig
var Usage = []string{"terraform-config [command options]"}

func GetDescription() string {
return "Generate terraform configuration."
return "Generate Terraform configuration"
}
6 changes: 3 additions & 3 deletions docs/common/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,20 @@ const (

JfrogCliFailNoOp = ` JFROG_CLI_FAIL_NO_OP
[Default: false]
Set to true if you'd like the command to return exit code 2 in case of no files are affected.
Set to true to return exit code 2 if no files are affected.
Support by the following commands: copy, delete, delete-props, set-props, download, move, search and upload`

JfrogCliUploadEmptyArchive = ` ` + services.JfrogCliUploadEmptyArchiveEnv + `
[Default: false]
Set to true if you'd like to upload an empty archive when '--archive' is set but all files were excluded by exclusions pattern.
Set to true to upload an empty archive when '--archive' is set but all files were excluded by exclusion patterns.
Supported by the upload command`

JfrogCliEncryptionKey = ` JFROG_CLI_ENCRYPTION_KEY
If provided, encrypt the sensitive data stored in the config with the provided key. Must be exactly 32 characters.`

JfrogCliAvoidNewVersionWarning = ` JFROG_CLI_AVOID_NEW_VERSION_WARNING
[Default: false]
Set to true if you'd like to avoid checking the latest available JFrog CLI version and printing warning when it newer than the current one. `
Set to true to skip checking for the latest JFrog CLI version. `

JfrogCliCommandSummaryOutputDirectory = ` JFROG_CLI_COMMAND_SUMMARY_OUTPUT_DIR
Defines the directory path where the command summaries data is stored.
Expand Down
42 changes: 21 additions & 21 deletions utils/cliutils/commandsflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -630,11 +630,11 @@ var flagsMap = map[string]cli.Flag{
},
passwordStdin: cli.BoolFlag{
Name: passwordStdin,
Usage: "[Default: false] Set to true if you'd like to provide the password via stdin.` `",
Usage: "[Default: false] Set to true to provide the password via stdin.` `",
},
accessTokenStdin: cli.BoolFlag{
Name: accessTokenStdin,
Usage: "[Default: false] Set to true if you'd like to provide the access token via stdin.` `",
Usage: "[Default: false] Set to true to provide the access token via stdin.` `",
},
// Artifactory's commands flags
url: cli.StringFlag{
Expand Down Expand Up @@ -715,11 +715,11 @@ var flagsMap = map[string]cli.Flag{
},
includeDirs: cli.BoolFlag{
Name: includeDirs,
Usage: "[Default: false] Set to true if you'd like to also apply the source path pattern for directories and not just for files.` `",
Usage: "[Default: false] Set to true to also apply the source path pattern for directories.` `",
},
failNoOp: cli.BoolFlag{
Name: failNoOp,
Usage: "[Default: false] Set to true if you'd like the command to return exit code 2 in case of no files are affected.` `",
Usage: "[Default: false] Set to true to return exit code 2 if no files are affected.` `",
},
threads: cli.StringFlag{
Name: threads,
Expand Down Expand Up @@ -756,7 +756,7 @@ var flagsMap = map[string]cli.Flag{
},
interactive: cli.BoolTFlag{
Name: interactive,
Usage: "[Default: true, unless $CI is true] Set to false if you do not want the config command to be interactive. If true, the --url option becomes optional.` `",
Usage: "[Default: true, unless $CI is true] Set to false if you don't want the config command to be interactive. If true, the --url option becomes optional.` `",
},
EncPassword: cli.BoolTFlag{
Name: EncPassword,
Expand All @@ -782,7 +782,7 @@ var flagsMap = map[string]cli.Flag{
},
uploadRecursive: cli.BoolTFlag{
Name: recursive,
Usage: "[Default: true] Set to false if you do not wish to collect artifacts in sub-folders to be uploaded to Artifactory.` `",
Usage: "[Default: true] Set to false if you don't wish to collect artifacts in sub-folders to be uploaded to Artifactory.` `",
},
uploadFlat: cli.BoolFlag{
Name: flat,
Expand Down Expand Up @@ -838,11 +838,11 @@ var flagsMap = map[string]cli.Flag{
},
downloadRecursive: cli.BoolTFlag{
Name: recursive,
Usage: "[Default: true] Set to false if you do not wish to include the download of artifacts inside sub-folders in Artifactory.` `",
Usage: "[Default: true] Set to false if you don't wish to include the download of artifacts inside sub-folders in Artifactory.` `",
},
downloadFlat: cli.BoolFlag{
Name: flat,
Usage: "[Default: false] Set to true if you do not wish to have the Artifactory repository path structure created locally for your downloaded files.` `",
Usage: "[Default: false] Set to true if you don't wish to have the Artifactory repository path structure created locally for your downloaded files.` `",
},
downloadMinSplit: cli.StringFlag{
Name: MinSplit,
Expand Down Expand Up @@ -884,7 +884,7 @@ var flagsMap = map[string]cli.Flag{
},
moveRecursive: cli.BoolTFlag{
Name: recursive,
Usage: "[Default: true] Set to false if you do not wish to move artifacts inside sub-folders in Artifactory.` `",
Usage: "[Default: true] Set to false if you don't wish to move artifacts inside sub-folders in Artifactory.` `",
},
moveFlat: cli.BoolFlag{
Name: flat,
Expand All @@ -900,7 +900,7 @@ var flagsMap = map[string]cli.Flag{
},
copyRecursive: cli.BoolTFlag{
Name: recursive,
Usage: "[Default: true] Set to false if you do not wish to copy artifacts inside sub-folders in Artifactory.` `",
Usage: "[Default: true] Set to false if you don't wish to copy artifacts inside sub-folders in Artifactory.` `",
},
copyFlat: cli.BoolFlag{
Name: flat,
Expand All @@ -916,7 +916,7 @@ var flagsMap = map[string]cli.Flag{
},
deleteRecursive: cli.BoolTFlag{
Name: recursive,
Usage: "[Default: true] Set to false if you do not wish to delete artifacts inside sub-folders in Artifactory.` `",
Usage: "[Default: true] Set to false if you don't wish to delete artifacts inside sub-folders in Artifactory.` `",
},
deleteProps: cli.StringFlag{
Name: props,
Expand All @@ -932,7 +932,7 @@ var flagsMap = map[string]cli.Flag{
},
searchRecursive: cli.BoolTFlag{
Name: recursive,
Usage: "[Default: true] Set to false if you do not wish to search artifacts inside sub-folders in Artifactory.` `",
Usage: "[Default: true] Set to false if you don't wish to search artifacts inside sub-folders in Artifactory.` `",
},
count: cli.BoolFlag{
Name: count,
Expand Down Expand Up @@ -1016,7 +1016,7 @@ var flagsMap = map[string]cli.Flag{
},
fail: cli.BoolTFlag{
Name: fail,
Usage: "[Default: true] Set to false if you do not wish the command to return exit code 3, even if the 'Fail Build' rule is matched by Xray.` `",
Usage: "[Default: true] Set to false if you don't wish the command to return exit code 3, even if the 'Fail Build' rule is matched by Xray.` `",
},
Status: cli.StringFlag{
Name: Status,
Expand Down Expand Up @@ -1104,7 +1104,7 @@ var flagsMap = map[string]cli.Flag{
},
global: cli.BoolFlag{
Name: global,
Usage: "[Default: false] Set to true if you'd like the configuration to be global (for all projects). Specific projects can override the global configuration.` `",
Usage: "[Default: false] Set to true to make the configuration global (for all projects). Specific projects can override the global configuration.` `",
},
serverIdResolve: cli.StringFlag{
Name: serverIdResolve,
Expand Down Expand Up @@ -1160,11 +1160,11 @@ var flagsMap = map[string]cli.Flag{
},
deployMavenDesc: cli.BoolTFlag{
Name: deployMavenDesc,
Usage: "[Default: true] Set to false if you do not wish to deploy Maven descriptors.` `",
Usage: "[Default: true] Set to false if you don't wish to deploy Maven descriptors.` `",
},
deployIvyDesc: cli.BoolTFlag{
Name: deployIvyDesc,
Usage: "[Default: true] Set to false if you do not wish to deploy Ivy descriptors.` `",
Usage: "[Default: true] Set to false if you don't wish to deploy Ivy descriptors.` `",
},
ivyDescPattern: cli.StringFlag{
Name: ivyDescPattern,
Expand Down Expand Up @@ -1388,7 +1388,7 @@ var flagsMap = map[string]cli.Flag{
},
useWrapperAudit: cli.BoolTFlag{
Name: UseWrapper,
Usage: "[Default: true] Set to false if you wish to not use the gradle or maven wrapper.` `",
Usage: "[Default: true] Set to false if you don't want to use the Gradle or Maven wrapper.` `",
},
ExcludeTestDeps: cli.BoolFlag{
Name: ExcludeTestDeps,
Expand Down Expand Up @@ -1428,7 +1428,7 @@ var flagsMap = map[string]cli.Flag{
},
UseWrapper: cli.BoolFlag{
Name: UseWrapper,
Usage: "[Default: false] Set to true if you wish to use the wrapper.` `",
Usage: "[Default: false] Set to true to use the wrapper.` `",
},
licenses: cli.BoolFlag{
Name: licenses,
Expand All @@ -1444,7 +1444,7 @@ var flagsMap = map[string]cli.Flag{
},
scanRecursive: cli.BoolTFlag{
Name: recursive,
Usage: "[Default: true] Set to false if you do not wish to collect artifacts in sub-folders to be scanned by Xray.` `",
Usage: "[Default: true] Set to false if you don't wish to collect artifacts in sub-folders to be scanned by Xray.` `",
},
scanRegexp: cli.BoolFlag{
Name: regexpFlag,
Expand Down Expand Up @@ -1738,11 +1738,11 @@ var flagsMap = map[string]cli.Flag{
},
OidcProviderType: cli.StringFlag{
Name: OidcProviderType,
Usage: "[Default: GitHub] The type of the OIDC provider.Possible values are: GitHub,Azure,GenericOidc` `",
Usage: "[Default: GitHub] The type of the OIDC provider. Possible values are: GitHub, Azure, GenericOidc` `",
},
ApplicationKey: cli.StringFlag{
Name: ApplicationKey,
Usage: "[Optional] JFrog ApplicationKey Key` ` ",
Usage: "[Optional] JFrog application key` ` ",
},
runNative: cli.BoolFlag{
Name: runNative,
Expand Down
Loading