Structure
Bash
A typed wrapper for /bin/bash script execution.
struct BashTopics
Initializers
init(context: ShellContext)Creates a
/bin/bashcommand family bound to a shell context.
Instance Properties
let arguments: [String]Typed bash arguments for the selected operation.
let config: ToolConfigurationShared configuration applied to commands produced by this client.
var context: ShellContextThe shell context used when running this command family.
let stderrDestination: OutputDestinationThe stderr handling strategy for built commands.
let stdoutDestination: OutputDestinationThe stdout handling strategy for built commands.
Instance Methods
func command() -> CommandBuilds the raw
/bin/bashcommand.func script(String) -> BashUses
/bin/bash -c <script>.func settingStderrDestination(OutputDestination) -> BashRedirects stderr for the built
/bin/bashcommand.func settingStdoutDestination(OutputDestination) -> BashRedirects stdout for the built
/bin/bashcommand.func updatingConfiguration((ToolConfiguration) -> ToolConfiguration) -> BashReturns a new value with updated shared tool configuration.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatypeSwiftyShell.OutputRedirectingCommandFamilySwiftyShell.RunnableCommandFamilySwiftyShell.ToolConfigurableCommandFamily