Constructor for ENTRYPOINT instruction

Entrypoint(program, params = list(), form = "exec")

Arguments

program

the executable or command

params

the parameters provided to the executable or command

form

the form how the instruction is rendered, either exec or shell

Value

an object of class Entrypoint

Examples

toString(Entrypoint("Rscript", params = list("sum", "1", "2")))
#> [1] "ENTRYPOINT [\"Rscript\", \"sum\", \"1\", \"2\"]"
toString(Entrypoint("/bin/echo"))
#> [1] "ENTRYPOINT [\"/bin/echo\"]"