mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
20 lines
504 B
Ruby
20 lines
504 B
Ruby
![]() |
# typed: strict
|
||
|
# frozen_string_literal: true
|
||
|
|
||
|
module Service
|
||
|
module Commands
|
||
|
module Start
|
||
|
TRIGGERS = %w[start launch load s l].freeze
|
||
|
|
||
|
sig {
|
||
|
params(targets: T::Array[Service::FormulaWrapper], custom_plist: T.nilable(String),
|
||
|
verbose: T.nilable(T::Boolean)).void
|
||
|
}
|
||
|
def self.run(targets, custom_plist, verbose:)
|
||
|
Service::ServicesCli.check(targets)
|
||
|
Service::ServicesCli.start(targets, custom_plist, verbose:)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|