feat(xbar): brew-services: add restart option for running services

This commit is contained in:
2021-11-01 00:54:06 +00:00
parent 423a36d245
commit 0cda202b4f

View File

@@ -195,6 +195,11 @@ module Brew
terminal: false, refresh: true, shell: brew_path,
param1: 'services', param2: 'stop', param3: service.name
)
printer.item(
'Restart',
terminal: false, refresh: true, shell: brew_path,
param1: 'services', param2: 'restart', param3: service.name
)
else
printer.item(
'Start',