anton-johansson / e-home

An E-Home controller server.
Apache License 2.0
1 stars 0 forks source link

Commands that exit #3

Closed anton-johansson closed 6 years ago

anton-johansson commented 6 years ago

CanExit interface is used to provide commands the possibility to exit the shell. Feels a bit overkill. Maybe use a specific exception for instead? That way, the ExitCallback interface never really leaves the EHomeShell class.