build_cli 2.3.0
build_cli: ^2.3.0 copied to clipboard
Parse command line arguments directly into an annotation class using the power of build_runner and source_gen.
We analyzed this package 6 hours ago, and awarded it 90 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.
10/10 points: 20% or more of the public API has dartdoc comments
8 out of 12 API elements (66.7 %) have documentation comments.
Some symbols that are missing documentation: build_cli.CliGenerator.CliGenerator.new, build_cli.CliGenerator.throwOnUnresolved, build_cli.CliGenerator.typeChecker, builder.buildCli.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 9 issues. Showing the first 2:
ERROR: A member named 'toStringNonNullable' is defined in 'extension DartTypeExtension on DartType (where DartTypeExtension is defined in /tmp/analyzerREJPBU/pub-cache/hosted/20261014t070500-dot-dartlang-pub.appspot.com/source_helper-1.4.0/lib/src/dart_type_extension.dart)' and 'extension DartTypeExtension on DartType (where DartTypeExtension is defined in /tmp/pana_XWRATW/lib/src/to_share.dart)', and neither is more specific.
lib/src/arg_info.dart:154:20
╷
154 │ '`${targetType.toStringNonNullable()}`'
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/arg_info.dart
ERROR: A member named 'toStringNonNullable' is defined in 'extension DartTypeExtension on DartType (where DartTypeExtension is defined in /tmp/analyzerREJPBU/pub-cache/hosted/20261014t070500-dot-dartlang-pub.appspot.com/source_helper-1.4.0/lib/src/dart_type_extension.dart)' and 'extension DartTypeExtension on DartType (where DartTypeExtension is defined in /tmp/pana_XWRATW/lib/src/to_share.dart)', and neither is more specific.
lib/src/arg_info.dart:232:35
╷
232 │ final targetType = element.type.toStringNonNullable();
│ ^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/arg_info.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
analyzer |
>=13.0.0 <15.0.0 |
14.5.0 | 14.5.0 | |
args |
^2.6.0 |
2.7.0 | 2.7.0 | |
build |
^4.0.4 |
4.0.11 | 5.0.0 | |
build_cli_annotations |
>=2.1.1 <2.2.0 |
2.1.1 | 2.1.1 | |
build_config |
^1.2.0 |
1.4.0 | 1.4.0 | |
cli_util |
^0.6.0 |
0.6.0 | 0.6.0 | |
dart_style |
^3.1.2 |
3.1.14 | 3.1.14 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
pub_semver |
^2.1.4 |
2.2.1 | 2.2.1 | |
source_gen |
^4.1.2 |
4.3.1 | 4.3.1 | |
source_helper |
^1.3.10 |
1.4.0 | 1.4.0 | |
yaml |
^3.1.3 |
3.1.4 | 3.1.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 109.0.0 | 109.0.0 | |
async |
- | 2.13.1 | 2.13.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.2.0 | 2.2.0 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
package_config |
- | 3.0.0 | 3.0.0 | |
pubspec_parse |
- | 1.6.0 | 1.6.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
watcher |
- | 1.2.1 | 1.2.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^4.0.4` on build does not support the stable version `5.0.0`, that was published 5 days ago.
When build is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions build to update the constraint.
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.23.19, Dart 3.13.5.
Check the analysis log for details.