module

Patty::Services::Manager

Picks the platform-native adapter that can control a given program.

Class methods

adapter_for(program : String) : Adapter | Nil
Source
adapters
Source
adapters=(adapters : Array(Adapter))
Source
reset_adapters!
Source
restart(program : String) : Result
Source
start(program : String) : Result
Source
status(program : String) : Tuple(Status, String | Nil)

Status plus the human name of the adapter that owns the program.

Source
stop(program : String) : Result
Source