args_macro 0.1.0-8.dev args_macro: ^0.1.0-8.dev copied to clipboard
Generates a parser for command-line arguments based on your data class.
We analyzed this package 2 days ago, and awarded it 150 pub points (of a possible 160):
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
.
10/10 points: 20% or more of the public API has dartdoc comments
863 out of 1060 API elements (81.4 %) 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.BadCertificateCallback
.
10/10 points: Package has an example
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
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:args_macro/args_macro.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 8 issues. Showing the first 2:
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
INFO: 'unaliasedTypeDeclaration' is deprecated and shouldn't be used. Use deAliasedTypeDeclaration.
lib/src/macros/args.dart:312:30
╷
312 │ final typeDecl = fieldIntr.unaliasedTypeDeclaration;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/macros/args.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
^2.5.0 |
2.6.0 | 2.6.0 |
collection |
^1.18.0 |
1.19.1 | 1.19.1 |
common_macros |
^0.1.0-4.dev |
0.1.0-7.dev | 0.1.0-7.dev |
macro_util |
^0.1.0-9.dev |
0.1.0-13.dev | 0.1.0-13.dev |
macros |
^0.1.0-main.5 |
0.1.2-main.4 | 0.1.3-main.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_macros |
- | 0.3.2 | 0.3.2 |
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.15
, Dart 3.5.4
.
Check the analysis log for details.