build_cli 2.2.3 build_cli: ^2.2.3 copied to clipboard
Parse command line arguments directly into an annotation class using the power of build_runner and source_gen.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add build_cli
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
build_cli: ^2.2.3
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:build_cli/build_cli.dart';