CommandOutputBinding-class {sevenbridges} | R Documentation

## CommandOutputBinding Class

### Description

Describes how to generate an output parameter based on the files produced by a CommandLineTool. The output parameter is generated by applying these operations in the following order: glob, loadContents, outputEval.

### Fields

`glob`

  [characterORExpression] Find files relative to the output directory, using POSIX glob(3) pathname matching. If provided an array, match all patterns in the array. If provided an expression, the expression must return a string or an array of strings, which will then be evaluated as a glob pattern. Only files which actually exist will be matched and returned.

`outputEval`

  [Expression] Evaluate an expression to generate the output value. If glob was specified, the script context will be an array containing any files that were matched. Additionally, if loadContents is true, the file objects will include up to the first 64 KiB of file contents in the contents field.

### Examples

    CommandOutputBinding(glob = "*.bam")

[Package sevenbridges version 1.8.1 Index]