21200: copied branch from arvados-workbench2 Arvados-DCO-1.1-Signed-off-by: Lisa...
[arvados.git] / sdk / cwl / tests / wf / listing_deep.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 class: CommandLineTool
6 cwlVersion: v1.0
7 $namespaces:
8   cwltool: "http://commonwl.org/cwltool#"
9 requirements:
10   cwltool:LoadListingRequirement:
11     loadListing: deep_listing
12   InlineJavascriptRequirement: {}
13 inputs:
14   d: Directory
15 outputs:
16   out: stdout
17 stdout: output.txt
18 arguments:
19   [echo, "${if(inputs.d.listing[0].class === 'Directory' && inputs.d.listing[0].listing[0].class === 'Directory') {return 'true';} else {return 'false';}}"]