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.

0.1.0 #

  • feat: Initial release.

0.1.0-dev.6 #

  • feat: Support for positional parameters
  • feat: Built-in --version flag that references a build-time version constant

0.1.0-dev.5 #

  • fix: prefer_if_null_operators lint issues with generated code.
  • fix: CommandRunners without subcommands don't generate constructor bodies.
  • fix: Commands without parameters don't generate constructor bodies.
  • fix: Generated userMethod fields inherit returnType from the user-defined method.
  • test: Added golden tests for Command and ArgParse functionality.
  • docs: Readme uses the latest APIs.

0.1.0-dev.4 #

  • feat: Support for adding a generic type to Command and CommandRunner
  • feat: Override the generated command name, description, or category via any command annotation (@cliCommand, @cliRunner, @cliSubcommand)

0.1.0-dev.3 #

  • docs: Added example.

0.1.0-dev.2 #

  • fix: Images in README.md should now be displayed correctly.

0.1.0-dev.1 #

  • Initial preview.
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