build_cli 0.2.3 copy "build_cli: ^0.2.3" to clipboard
build_cli: ^0.2.3 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.3 #

  • Require the latest package:analyzer.
  • Support convert functions with optional parameters.

0.2.2 #

  • Added support for populating ArgResults command if the field is not annotated.
  • Improved error output, including in cases where a bug may be found.

0.2.1 #

  • Added support for covert to CliOption.
  • Throw many more errors during build that would create invalid code at runtime.

0.2.0 #

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

  • Added for 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
58%
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