build_cli 0.2.2 build_cli: ^0.2.2 copied to clipboard
Parse command line arguments directly into an annotation class using the power of build_runner and source_gen.
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
toCliOption
. - 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
toCliOption
.
0.1.2 #
- Support
int
,double
, andnum
for options. - Improve error messages for some failures.
- Support
defaultsTo
for flags. - Generate another private method
_$populate[OptionClassName]Parser
. Allows usage for already existingArgParser
instances, such as withpackage: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