cliar 0.1.0 copy "cliar: ^0.1.0" to clipboard
cliar: ^0.1.0 copied to clipboard

Cliar (クリアー) は、dart のクラス定義からコマンドラインオプションを設定できるようにするパッケージです。

0
likes
85/ 140
pub points
0%
popularity

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

failed
Follow Dart file conventions
15 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

The package description contains too many non-ASCII characters.

The site uses English as its primary language. The content of the description field in your package's pubspec.yaml should primarily contain characters used in English.

0/5 points: Provide a valid README.md

`README.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

1 out of 8 API elements (12.5 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: cliar.Cliar, cliar.Cliar.Cliar, cliar.Cliar.build, cliar.Cliar.parse, cliar.Cliar.printUsage.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:cliar/cliar.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:cliar/cliar.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:cliar/cliar.dart that imports:
  • dart:mirrors
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 8 issues. Showing the first 2:

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/arg.dart:59:11

   ╷
59 │       if (value is MethodMirror && value.isGetter && name.startsWith("_") && name != "_arg") {
   │           ^^^^^^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The value of the field '_arg' isn't used.

lib/src/arg_validator.dart:4:12

  ╷
4 │   late Arg _arg;
  │            ^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
recase ^4.0.0 4.1.0 4.1.0

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

0
likes
85
pub points
0%
popularity

Publisher

unverified uploader

Cliar (クリアー) は、dart のクラス定義からコマンドラインオプションを設定できるようにするパッケージです。

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

recase

More

Packages that depend on cliar