Fluxion::ShellCommandItem
Inherits Fluxion::ShellItemFields < Struct < Value < Object
One command inside a shell-command step.
A shell string and a direct argv vector stay distinct all the way through: previews, redaction, and the execution boundary all need to know which one they are looking at, because only one of them involves a shell parser.
Constructors
new(name : String, shell_command : String | Nil = nil, argv : Array(String) | Nil = nil, shell : String = "/bin/bash", working_dir : String | Nil = nil, environment : Array(ShellEnvironmentVariable) = [] of ShellEnvironmentVariable, sudo : Bool = false, allowed_exit_codes : Array(Int32) = [] of Int32, creates : String | Nil = nil, unless_command : String | Nil = nil, confirm : String | Nil = nil, timeout : Time::Span = ShellItemFields::DEFAULT_TIMEOUT, condition : Condition | Nil = nil)
SourceInstance methods
argv
Sourcecommand
Sourcedirect?
Sourceshell
Sourceshell_command
Source