runSelectedCli function

Future<int> runSelectedCli(
  1. List<String> args
)

CLI adapter for fdb selected. Accepts no flags; emits one of:

  NO_WIDGET_SELECTED                          (no widget selected)
  SELECTED: <desc> (<file>:<line>)            (widget with location + line)
  SELECTED: <desc> (<file>)                   (widget with location, no line)
  SELECTED: <desc>                            (widget, no location)
  ERROR: No Flutter isolate found             (no isolate)
  ERROR: <message>                            (generic error)

Implementation

Future<int> runSelectedCli(List<String> args) => runCliAdapter(ArgParser(), args, _execute);