build_cli 0.2.0 copy "build_cli: ^0.2.0" to clipboard
build_cli: ^0.2.0 copied to clipboard

outdatedDart 1 only

Parse command line arguments directly into an annotation class using the power of build_runner and source_gen.

0.2.0 #

  • Fail unless the minimum SDK constraint on the target package is at least 2.0.0-dev.48.

  • Added support valueHelp to CliOption.

0.1.2 #

  • Support int, double, and num for options.
  • Improve error messages for some failures.
  • Support defaultsTo for flags.
  • Generate another private method _$populate[OptionClassName]Parser. Allows usage for already existing ArgParser instances, such as with package:args CommandRunner.

0.1.1+1 #

  • Fix link to package:peanut usage example.

0.1.1 #

  • Add setup instructions to README.md.
  • Use the logger built into pkg:build.
  • Don't generate CLI entries for unassignable fields.
  • Support latest pkg:source_gen.
  • Properly escape String literals.

0.1.0 #

  • First release
15
likes
0
pub points
64%
popularity

Publisher

verified publisherj832.com

Parse command line arguments directly into an annotation class using the power of build_runner and source_gen.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, build, build_cli_annotations, build_config, meta, pub_semver, source_gen, yaml

More

Packages that depend on build_cli