diff --git a/docs/artifactory/cocoapodsconfig/help.go b/docs/artifactory/cocoapodsconfig/help.go index a334e48a1..32a7f95f5 100644 --- a/docs/artifactory/cocoapodsconfig/help.go +++ b/docs/artifactory/cocoapodsconfig/help.go @@ -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" } diff --git a/docs/artifactory/dotnetconfig/help.go b/docs/artifactory/dotnetconfig/help.go index ebb684e96..a8bfee1ec 100644 --- a/docs/artifactory/dotnetconfig/help.go +++ b/docs/artifactory/dotnetconfig/help.go @@ -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" } diff --git a/docs/artifactory/goconfig/help.go b/docs/artifactory/goconfig/help.go index 63e7fc6ec..5303ae8ee 100644 --- a/docs/artifactory/goconfig/help.go +++ b/docs/artifactory/goconfig/help.go @@ -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" } diff --git a/docs/artifactory/gradleconfig/help.go b/docs/artifactory/gradleconfig/help.go index 9e6375baa..05a7e6049 100644 --- a/docs/artifactory/gradleconfig/help.go +++ b/docs/artifactory/gradleconfig/help.go @@ -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" } diff --git a/docs/artifactory/mvnconfig/help.go b/docs/artifactory/mvnconfig/help.go index 8b2169e99..f26a0f00d 100644 --- a/docs/artifactory/mvnconfig/help.go +++ b/docs/artifactory/mvnconfig/help.go @@ -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" } diff --git a/docs/artifactory/nugetconfig/help.go b/docs/artifactory/nugetconfig/help.go index ea3eaaa68..2518e7014 100644 --- a/docs/artifactory/nugetconfig/help.go +++ b/docs/artifactory/nugetconfig/help.go @@ -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" } diff --git a/docs/artifactory/pipconfig/help.go b/docs/artifactory/pipconfig/help.go index af10d5ff2..6d0e460b0 100644 --- a/docs/artifactory/pipconfig/help.go +++ b/docs/artifactory/pipconfig/help.go @@ -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" } diff --git a/docs/artifactory/terraformconfig/help.go b/docs/artifactory/terraformconfig/help.go index af5cd0be6..2a7c46bcd 100644 --- a/docs/artifactory/terraformconfig/help.go +++ b/docs/artifactory/terraformconfig/help.go @@ -3,5 +3,5 @@ package terraformconfig var Usage = []string{"terraform-config [command options]"} func GetDescription() string { - return "Generate terraform configuration." + return "Generate Terraform configuration" } diff --git a/docs/common/env.go b/docs/common/env.go index 483d5cb43..56ce2d408 100644 --- a/docs/common/env.go +++ b/docs/common/env.go @@ -80,12 +80,12 @@ 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 @@ -93,7 +93,7 @@ const ( 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. diff --git a/utils/cliutils/commandsflags.go b/utils/cliutils/commandsflags.go index 71be17780..c264c7c54 100644 --- a/utils/cliutils/commandsflags.go +++ b/utils/cliutils/commandsflags.go @@ -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{ @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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, @@ -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,