Bistro.Shell_dslSourceCommand-line construction
include module type of Template_dsl with type template := templateSymbol representing the location where a workflow is expected to produce its result
Symbol representing an existing empty directory that can be used as a temporary space for a workflow's execution.
dep w is interpreted as the path where to find the result of workflow w
string_dep w is interpreted as the result of workflow w
quote ~using:c t surrounds template t with character c
option f o is f x if o = Some x and string "" otherwise
list combinator, optional value of sep is ","
another list combinator, default value for sep is ""
val cmd :
string ->
?stdin:template ->
?stdout:template ->
?stderr:template ->
template list ->
commandCommand-line constructor, e.g. cmd "echo" ~stdout:dest [ string "foo" ] will generate a shell command like "echo foo > /some/path".
Command-line option formatting, e.g.: opt "--output" dep dest will be rendered like "--output /some/path"
Same as opt but renders options with an equal sign, e.g. "--output=/some/path"
Similar to Filename.concat, but with other types.
val docker_image :
?tag:string ->
?registry:string ->
account:string ->
name:string ->
unit ->
container_imageConstruct a description of a publicly available docker image