class Highway::Steps::Library::ShStep

Public Class Methods

name() click to toggle source
# File lib/highway/steps/library/sh.rb, line 14
def self.name
  "sh"
end
parameters() click to toggle source
# File lib/highway/steps/library/sh.rb, line 18
def self.parameters
  [
    Parameters::Single.new(
      name: "command",
      required: true,
      type: Types::String.new(),
    ),
  ]
end
run(parameters:, context:, report:) click to toggle source
# File lib/highway/steps/library/sh.rb, line 28
def self.run(parameters:, context:, report:)
  context.run_sh(parameters["command"])
end