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

Dart console SDK - write console (cli) apps/scripts using dart.

197
likes
130/ 160
pub points
92%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

790 out of 881 API elements (89.7 %) have documentation comments.

Some symbols that are missing documentation: dcli, dcli.Ask.defaultPrompt, dcli.Confirm, dcli.Confirm.Confirm, dcli.Confirm.defaultPrompt.

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 does not support platform `Android`.

Because:

  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Linux`.

Because:

  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/string_as_process.dart that imports:
  • package:dcli/src/util/runnable_process.dart that imports:
  • package:dcli/src/process/process/process_in_isolate2.dart that imports:
  • package:dcli/src/process/process/in_isolate/runner.dart that imports:
  • package:dcli_terminal/dcli_terminal.dart that imports:
  • package:dcli_terminal/src/terminal.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/string_as_process.dart that imports:
  • package:dcli/src/util/runnable_process.dart that imports:
  • package:dcli/src/process/process/process_in_isolate2.dart that imports:
  • package:dcli/src/process/process/in_isolate/runner.dart that imports:
  • package:dcli_terminal/dcli_terminal.dart that imports:
  • package:dcli_terminal/src/terminal.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/src/script/dart_project_creator.dart:7:1

  ╷
7 │ part of dart_project;
  │ ^^^^^^^^^^^^^^^^^^^^^
  ╵

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

lib/src/process/process/process_channel.dart doesn't match the Dart formatter.

To format your files run: dart format .

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
archive ^3.3.8 3.6.1 3.6.1
args ^2.0.0 2.5.0 2.5.0
async ^2.5.0 2.11.0 2.11.0
chunked_stream ^1.4.1 1.4.2 1.4.2
collection ^1.15.0 1.19.0 1.19.0
convert ^3.0.1 3.1.1 3.1.1
crypto ^3.0.0 3.0.3 3.0.3
csv ^6.0.0 6.0.0 6.0.0
dart_console ^4.0.0 4.1.0 4.1.0
dcli_common ^4.0.0 4.0.2 4.0.2
dcli_core ^4.0.0 4.0.2 4.0.2
dcli_terminal ^4.0.0 4.0.2 4.0.2
equatable ^2.0.0 2.0.5 2.0.5
ffi ^2.0.0 2.1.2 2.1.2
file ^7.0.0 7.0.0 7.0.0
glob ^2.0.0 2.1.2 2.1.2
ini ^2.1.0 2.1.0 2.1.0
logging ^1.0.2 1.2.0 1.2.0
meta >=1.11.0 <2.0.0 1.15.0 1.15.0
mime ^1.0.1 1.0.5 1.0.5
native_synchronization ^0.2.0 0.2.0 0.2.0
path ^1.8.0 1.9.0 1.9.0
posix ^6.0.1 6.0.1 6.0.1
pub_semver ^2.0.0 2.1.4 2.1.4
pubspec_lock ^3.0.1 3.0.2 3.0.2
pubspec_manager ^1.0.0 1.0.0 1.0.0
runtime_named_locks ^1.0.0-beta.6 1.0.0-beta.6 1.0.0-beta.6
scope ^4.1.0 4.1.0 4.1.0
settings_yaml ^8.1.0 8.1.0 8.1.0
stack_trace ^1.10.0 1.11.1 1.11.1
system_info2 ^4.0.0 4.0.0 4.0.0
uuid ^4.1.0 4.4.0 4.4.0
validators2 ^5.0.0 5.0.0 5.0.0
win32 >=4.1.4 <5.4.0 5.3.0 5.5.1
yaml ^3.0.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
circular_buffer - 0.11.0 0.11.0
clock - 1.1.1 1.1.1
fixnum - 1.1.0 1.1.0
functional_data - 1.2.0 1.2.0
globbing - 1.0.0 1.0.0
intl - 0.19.0 0.19.0
json2yaml - 3.0.1 3.0.1
lists - 1.0.1 1.0.1
runtime_native_semaphores - 1.0.0-beta.6 1.0.0-beta.6
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
string_scanner - 1.2.0 1.2.0
strings - 3.1.2 3.1.2
sum_types - 0.3.5 0.3.5
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
unicode - 0.3.1 0.3.1

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

The constraint `>=4.1.4 <5.4.0` on win32 does not support the stable version `5.4.0`.

Try running dart pub upgrade --major-versions win32 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.22.7, Dart 3.4.4.

Check the analysis log for details.