dcq_standalone 0.3.0
dcq_standalone: ^0.3.0 copied to clipboard
Standalone CLI for running DCQ rules against any Dart project.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate dcq_standaloneUse it
The package has the following executables:
$ dcq
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dcq_standaloneWith Flutter:
$ flutter pub add dcq_standaloneThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dcq_standalone: ^0.3.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dcq_standalone/dcq_standalone.dart';