cli_gen 0.1.0 copy "cli_gen: ^0.1.0" to clipboard
cli_gen: ^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_gen

With Flutter:

 $ flutter pub add cli_gen

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

dependencies:
  cli_gen: ^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_gen/cli_gen.dart';
5
likes
140
points
38
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 #build-runner

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, build, cli_annotations, code_builder, dart_style, meta, pubspec_parse, recase, source_gen

More

Packages that depend on cli_gen