dcli 7.0.2
dcli: ^7.0.2 copied to clipboard
Dart console SDK - write console (cli) apps/scripts using dart.
We analyzed this package 4 days ago, and awarded it 120 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
805 out of 914 API elements (88.1 %) have documentation comments.
Some symbols that are missing documentation: dcli
, dcli.AnsiColor.AnsiColor.new
, dcli.Ask.Ask.new
, dcli.Ask.defaultPrompt
, dcli.Confirm
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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_isolate.dart
that imports:package:dcli/src/process/process/in_isolate/process_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_isolate.dart
that imports:package:dcli/src/process/process/in_isolate/process_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
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
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/util/parse_cli_command.dart
that imports:package:glob/glob.dart
that imports:package:glob/src/list_tree.dart
that imports:package:file/file.dart
that imports:package:file/src/interface.dart
that imports:package:file/src/io.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 18 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/functions/backup.dart:25:36
╷
25 │ /// We also renamed the backup to '<filename>.bak' to ensure
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/functions/backup.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/functions/backup.dart:43:19
╷
43 │ /// from the .bak/<filename>.bak file created when
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/functions/backup.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
archive |
>=3.6.1 <5.0.0 |
4.0.5 | 4.0.5 | |
args |
^2.0.0 |
2.7.0 | 2.7.0 | |
async |
^2.5.0 |
2.13.0 | 2.13.0 | |
chunked_stream |
^1.4.1 |
1.4.2 | 1.4.2 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
convert |
^3.0.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.0 |
3.0.6 | 3.0.6 | |
csv |
^6.0.0 |
6.0.0 | 6.0.0 | |
dart_console |
^4.0.0 |
4.1.1 | 4.1.1 | |
dcli_common |
^7.0.2 |
7.0.2 | 7.0.2 | |
dcli_core |
^7.0.2 |
7.0.2 | 7.0.2 | |
dcli_terminal |
^7.0.2 |
7.0.2 | 7.0.2 | |
equatable |
^2.0.0 |
2.0.7 | 2.0.7 | |
ffi |
^2.0.0 |
2.1.4 | 2.1.4 | |
file |
^7.0.0 |
7.0.1 | 7.0.1 | |
glob |
^2.0.0 |
2.1.3 | 2.1.3 | |
ini |
^2.1.0 |
2.1.0 | 2.1.0 | |
logging |
^1.0.2 |
1.3.0 | 1.3.0 | |
meta |
>=1.11.0 <2.0.0 |
1.16.0 | 1.16.0 | |
mime |
^2.0.0 |
2.0.0 | 2.0.0 | |
native_synchronization_temp |
^0.7.1 |
0.7.1 | 0.7.1 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
posix |
^6.0.1 |
6.0.1 | 6.0.1 | |
pub_semver |
^2.0.0 |
2.2.0 | 2.2.0 | |
pubspec_lock |
^3.0.1 |
3.0.2 | 3.0.2 | |
pubspec_manager |
^1.0.0 |
1.0.1 | 1.0.1 | |
scope |
^5.0.0 |
5.1.0 | 5.1.0 | |
settings_yaml |
^8.2.0 |
8.2.0 | 8.2.0 | |
stack_trace |
^1.10.0 |
1.12.1 | 1.12.1 | |
system_info2 |
^4.0.0 |
4.0.0 | 4.0.0 | |
uuid |
^4.1.0 |
4.5.1 | 4.5.1 | |
validators2 |
^5.0.0 |
5.0.0 | 5.0.0 | |
win32 |
^5.0.0 |
5.12.0 | 5.12.0 | |
yaml |
^3.0.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.0 | |
circular_buffer |
- | 0.12.0 | 0.12.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
functional_data |
- | 1.2.0 | 1.2.0 | |
globbing |
- | 1.0.0 | 1.0.0 | Discontinued |
intl |
- | 0.19.0 | 0.20.2 | |
json2yaml |
- | 3.0.1 | 3.0.1 | |
simple_sparse_list |
- | 0.1.4 | 0.1.4 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
strings |
- | 3.2.0 | 3.2.0 | |
sum_types |
- | 0.3.5 | 0.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unicode |
- | 1.1.8 | 1.1.8 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 5 errors:
CONST_INITIALIZED_WITH_NON_CONSTANT_VALUE
-lib/src/installers/installer.dart:6:30
- Const variables must be initialized with a constant value.CONST_WITH_NON_CONST
-lib/src/installers/installer.dart:6:30
- The constructor being called isn't a const constructor.CONST_WITH_NON_CONST
-lib/src/settings.dart:42:40
- The constructor being called isn't a const constructor.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.20
, Dart 3.7.2
.
Check the analysis log for details.