github.com/jfrog/jfrog-cli-go@v1.22.1-0.20200318093948-4826ef344ffd/docs/artifactory/upload/help.go (about)

     1  package upload
     2  
     3  const Description = "Upload files."
     4  
     5  var Usage = []string{"jfrog rt u [command options] <source pattern> <target pattern>",
     6  	"jfrog rt u --spec=<File Spec path> [command options]"}
     7  
     8  const Arguments string = `	source pattern
     9  		Specifies the local file system path to artifacts which should be uploaded to Artifactory.
    10  		You can specify multiple artifacts by using wildcards or a regular expression as designated by the --regexp command option.
    11  		If you have specified that you are using regular expressions, then the first one used in the argument must be enclosed in parenthesis.
    12  
    13  	target pattern
    14  		Specifies the target path in Artifactory in the following format: <repository name>/<repository path>.
    15  		If the target path ends with a slash, the path is assumed to be a folder. For example, if you specify the target as "repo-name/a/b/",
    16  		then "b" is assumed to be a folder in Artifactory into which files should be uploaded. If there is no terminal slash, the target path
    17  		is assumed to be a file to which the uploaded file should be renamed. For example, if you specify the target as "repo-name/a/b",
    18  		the uploaded file is renamed to "b" in Artifactory.
    19  		For flexibility in specifying the upload path, you can include placeholders in the form of {1}, {2} which are replaced by corresponding
    20  		tokens in the source path that are enclosed in parenthesis.`
    21  
    22  const EnvVar string = `	JFROG_CLI_MIN_CHECKSUM_DEPLOY_SIZE_KB
    23  		[Default: 10]
    24  		Minimum file size in KB for which JFrog CLI performs checksum deploy optimization.`