cli_annotations 0.1.0 copy "cli_annotations: ^0.1.0" to clipboard
cli_annotations: ^0.1.0 copied to clipboard

Build declarative and type-safe CLI apps with the help of code generation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add cli_annotations

With Flutter:

 $ flutter pub add cli_annotations

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

dependencies:
  cli_annotations: ^0.1.0

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:cli_annotations/cli_annotations.dart';
3
likes
160
points
163
downloads

Publisher

unverified uploader

Weekly Downloads

Build declarative and type-safe CLI apps with the help of code generation.

Repository (GitHub)
View/report issues

Topics

#cli #args #codegen #macros

Documentation

API reference

License

MIT (license)

Dependencies

args, meta

More

Packages that depend on cli_annotations