runRestartCli function
CLI adapter for fdb restart. Accepts no flags; emits one of:
RESTARTED in <ms>ms (success)
ERROR: No PID file found. Is the app running? (no session)
ERROR: Process <pid> is not running (process dead)
RESTART_FAILED (timeout)
Implementation
Future<int> runRestartCli(List<String> args) => runCliAdapter(ArgParser(), args, _execute);