args_macro 0.1.0-8.dev copy "args_macro: ^0.1.0-8.dev" to clipboard
args_macro: ^0.1.0-8.dev copied to clipboard

Generates a parser for command-line arguments based on your data class.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add args_macro

With Flutter:

 $ flutter pub add args_macro

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  args_macro: ^0.1.0-8.dev

Alternatively, 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:args_macro/args_macro.dart';
3
likes
150
pub points
17%
popularity

Publisher

verified publisherainkin.com

Generates a parser for command-line arguments based on your data class.

Repository (GitHub)
View/report issues

Topics

#cli #macros

Documentation

API reference

License

MIT-0 (license)

Dependencies

args, collection, common_macros, macro_util, macros

More

Packages that depend on args_macro