dcli 0.51.10 copy "dcli: ^0.51.10" to clipboard
dcli: ^0.51.10 copied to clipboard

An API and dev environment for writing console (cli) apps/scripts using dart. e.g. allows you to build bash style scripts with dart.

188
likes
110/ 140
pub points
91%
popularity

We analyzed this package 33 hours ago, and awarded it 110 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: dcli,
    • contains a version property, and,
    • does not contain a publish_to property.

dcli/pubspec.yaml from the repository URL mismatch: expected https://github.com/bsutton/dcli but got https://github.com/onepub-dev/dcli.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

580 out of 634 API elements (91.5 %) have documentation comments.

Some symbols that are missing documentation: dcli, dcli.ArgParser.getDefault, dcli.BashShell.isCompletionInstalled, dcli.BashShell.isCompletionSupported, dcli.CDException.copyWith.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

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

These platforms are not supported:

Package not compatible with platform iOS

Because:

  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/wait_for_ex.dart that imports:
  • dart:cli
Package not compatible with platform Web

Because:

  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/wait_for_ex.dart that imports:
  • package:dcli/src/util/stack_trace_impl.dart that imports:
  • package:dcli/src/settings.dart that imports:
  • package:dcli/src/functions/env.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

Found 116 issues. Showing the first 2:

INFO: The import of 'package:args/args.dart' is unnecessary because all of the used elements are also provided by the import of 'package:dcli/dcli.dart'.

lib/src/assets/templates/basic.dart:5:8

  ╷
5 │ import 'package:args/args.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The import of 'package:args/args.dart' is unnecessary because all of the used elements are also provided by the import of 'package:dcli/dcli.dart'.

lib/src/assets/templates/cmd_args.dart:5:8

  ╷
5 │ import 'package:args/args.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
archive ^3.0.0 3.5.1 3.5.1
args ^2.0.0 2.5.0 2.5.0
async ^2.5.0 2.11.0 2.11.0
collection ^1.15.0 1.18.0 1.18.0
csv ^5.0.0-0 5.1.1 6.0.0
equatable ^2.0.0-0 2.0.5 2.0.5
file ^6.1.0 6.1.4 7.0.0
glob ^2.0.0 2.1.2 2.1.2
ini ^2.1.0-0 2.1.0 2.1.0
meta ^1.3.0 1.14.0 1.14.0
path ^1.8.0 1.9.0 1.9.0
pedantic ^1.10.0 1.11.1 1.11.1
posix ^2.0.0 2.2.3 6.0.1
pub_semver ^2.0.0 2.1.4 2.1.4
pubspec ^2.0.0 2.3.0 2.3.0
uuid ^3.0.0 3.0.7 4.4.0
validators2 ^3.0.0 3.0.0 5.0.0
yaml ^3.0.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
basic_utils - 3.9.4 5.7.0
boolean_selector - 2.1.1 2.1.1
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
ffi - 1.2.1 2.1.2
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
pointycastle - 3.9.0 3.9.0
quiver - 3.2.1 3.2.1
random_string - 2.3.1 2.3.1
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
uri - 1.0.0 1.0.0
vin_decoder - 0.2.1-nullsafety 0.2.1-nullsafety

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

Found 5 issues. Showing the first 2:

The constraint `^5.0.0-0` on csv does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions csv to update the constraint.

The constraint `^6.1.0` on file does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions file to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

188
likes
110
pub points
91%
popularity

Publisher

verified publisheronepub.dev

An API and dev environment for writing console (cli) apps/scripts using dart. e.g. allows you to build bash style scripts with dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

archive, args, async, collection, csv, equatable, file, glob, ini, meta, path, pedantic, posix, pub_semver, pubspec, uuid, validators2, yaml

More

Packages that depend on dcli