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

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

4
likes
150/ 160
pub points
55
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT-0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

67 out of 75 API elements (89.3 %) have documentation comments.

Some symbols that are missing documentation: args_macro, args_macro.ArgParser.getDefault, args_macro.ArgParserException.ArgParserException.new, args_macro.Args.Args.new, args_macro.Args.buildDeclarationsForClass.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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

Failed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 16 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/argument.dart:152:11

    ╷
152 │ /// A List<double> or Set<double> argument.
    │           ^^^^^^^^
    ╵
copied to clipboard

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/argument.dart:152:26

    ╷
152 │ /// A List<double> or Set<double> argument.
    │                          ^^^^^^^^
    ╵
copied to clipboard

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

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

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

Package Constraint Compatible Latest Notes
args ^2.5.0 2.7.0 2.7.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.3-main.0 0.1.3-main.0

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 1Jul 29Aug 26Sep 23Oct 21Nov 18Dec 16Jan 13Feb 10Mar 100102030405060708090>=0.0.0-0 <1.0.0
4
likes
150
points
55
downloads

Publisher

verified publisherainkin.com

Weekly Downloads

2024.09.16 - 2025.03.31

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

Repository (GitHub)

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