15 lines
268 B
Swift
15 lines
268 B
Swift
import ArgumentParser
|
|
|
|
extension PHBar {
|
|
struct Refresh: ParsableCommand {
|
|
static let configuration = CommandConfiguration(
|
|
commandName: "refresh",
|
|
abstract: "Refresh the running status bar."
|
|
)
|
|
|
|
mutating func run() throws {
|
|
IPC.post(.refresh)
|
|
}
|
|
}
|
|
}
|