cmd_plus 1.2.0 cmd_plus: ^1.2.0 copied to clipboard
A wrapper around dart:io Process, package:io and mason_logger to make it easier to run commands in dart scripts.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cmd_plus
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
cmd_plus: ^1.2.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cmd_plus/cmd_plus.dart';