args_macro 0.1.0-7.dev copy "args_macro: ^0.1.0-7.dev" to clipboard
args_macro: ^0.1.0-7.dev copied to clipboard

Generates a parser for command-line arguments based on your data class.

1
likes
150/ 160
pub points
13%
popularity

We analyzed this package 5 days ago, and awarded it 150 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT-0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

57 out of 63 API elements (90.5 %) have documentation comments.

Some symbols that are missing documentation: args_macro, args_macro.ArgParser.getDefault, args_macro.Args.buildDeclarationsForClass, args_macro.Args.buildTypesForClass, args_macro.Option.getOrDefault.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:args_macro/args_macro.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: 'whereNotNull' is deprecated and shouldn't be used. Use .nonNulls instead.

lib/src/enum_introspection_data.dart:30:10

   ╷
30 │         .whereNotNull()
   │          ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/enum_introspection_data.dart

* Running `dart format` failed: ``` Formatted 17 files (0 changed) in 0.74 seconds. Could not format because the source could not be parsed:

line 27, column 1 of ../../pana_KDLORC/lib/src/macros/args.dart: This requires the 'macros' language feature to be enabled. ╷ 27 │ macro class Args implements ClassTypesMacro, ClassDeclarationsMacro { │ ^^^^^ ╵```

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
args ^2.5.0 2.5.0 2.5.0
collection ^1.18.0 1.19.0 1.19.0
common_macros ^0.1.0-4.dev 0.1.0-6.dev 0.1.0-6.dev
macro_util ^0.1.0-9.dev 0.1.0-10.dev 0.1.0-10.dev
macros ^0.1.0-main.5 0.1.0-main.5 0.1.2-main.4
Transitive dependencies
Package Constraint Compatible Latest
_macros - 0.1.5 0.1.5

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.7, Dart 3.5.0-180.3.beta.

Check the analysis log for details.

1
likes
150
pub points
13%
popularity

Publisher

verified publisherainkin.com

Generates a parser for command-line arguments based on your data class.

Repository (GitHub)
View/report issues

Topics

#cli #macros

Documentation

API reference

License

MIT-0 (LICENSE)

Dependencies

args, collection, common_macros, macro_util, macros

More

Packages that depend on args_macro