runSelectCli function
CLI adapter for fdb select on|off.
Output contract:
SELECTION_MODE=ON (success, enabled)
SELECTION_MODE=OFF (success, disabled)
ERROR: Usage: fdb select on|off (no args or invalid arg)
ERROR: No Flutter isolate found (no isolate)
(AppDiedException rethrown for dispatcher's _formatAppDied) (app died)
ERROR: <message> (generic error)
Implementation
Future<int> runSelectCli(List<String> args) => runSimpleCliAdapter(
args,
_execute,
helpText: 'Usage: fdb select on|off',
);