
Co-authored-by: Patrick Linnane <patrick@linnane.io> Co-authored-by: Carlo Cabrera <github@carlo.cab> Co-authored-by: Thierry Moisan <thierry.moisan@gmail.com> Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
27 lines
576 B
Ruby
27 lines
576 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
require "services/cli"
|
|
|
|
module Homebrew
|
|
module Services
|
|
module Commands
|
|
module Run
|
|
TRIGGERS = ["run"].freeze
|
|
|
|
sig {
|
|
params(
|
|
targets: T::Array[Services::FormulaWrapper],
|
|
custom_plist: T.nilable(String),
|
|
verbose: T::Boolean,
|
|
).void
|
|
}
|
|
def self.run(targets, custom_plist, verbose:)
|
|
Services::Cli.check!(targets)
|
|
Services::Cli.run(targets, custom_plist, verbose:)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|