execute method
Implementation
@override
void execute(List<String> arguments) async {
Env().load();
if (Platform.isWindows) {
await _killPortOnWindows(Env.get<int>('APP_PORT', 300));
} else if (Platform.isLinux || Platform.isMacOS) {
await _killPortOnUnix(Env.get<int>('APP_PORT', 3000));
} else {
throw UnsupportedError('Unsupported platform');
}
print('Done');
exit(0);
}