success method

Future<bool> success(
  1. String cmd
)

Implementation

Future<bool> success(final String cmd) => Task(() => _io.run('type $cmd'))
    .map((final res) => res.exitCode == 0)
    .run();