cmd_plus 1.3.2
cmd_plus: ^1.3.2 copied to clipboard
A wrapper around dart:io Process, package:io and mason_logger to make it easier to run commands in dart scripts.
We analyzed this package 11 hours ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://mankeli.co
was unreachable. Make sure that the website is reachable via HEAD
requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/Mankeli-Software/cmd_plus/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
134 out of 232 API elements (57.8 %) have documentation comments.
Some symbols that are missing documentation: cmd_plus
, cmd_plus.CmdPlusMode.map
, cmd_plus.CmdPlusMode.mapOrNull
, cmd_plus.CmdPlusMode.maybeMap
, cmd_plus.CmdPlusMode.maybeWhen
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Windows
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:cmd_plus/cmd_plus.dart
that imports:package:mason_logger/mason_logger.dart
that imports:package:mason_logger/src/mason_logger.dart
that imports:package:mason_logger/src/terminal_overrides.dart
that imports:package:mason_logger/src/ffi/terminal.dart
that imports:package:mason_logger/src/ffi/windows_terminal.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:cmd_plus/cmd_plus.dart
that imports:package:mason_logger/mason_logger.dart
that imports:package:mason_logger/src/mason_logger.dart
that imports:package:mason_logger/src/terminal_overrides.dart
that imports:package:mason_logger/src/ffi/terminal.dart
that imports:package:mason_logger/src/ffi/windows_terminal.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Linux`.
Because:
package:cmd_plus/cmd_plus.dart
that imports:package:mason_logger/mason_logger.dart
that imports:package:mason_logger/src/mason_logger.dart
that imports:package:mason_logger/src/terminal_overrides.dart
that imports:package:mason_logger/src/ffi/terminal.dart
that imports:package:mason_logger/src/ffi/windows_terminal.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:cmd_plus/cmd_plus.dart
that imports:package:mason_logger/mason_logger.dart
that imports:package:mason_logger/src/mason_logger.dart
that imports:package:mason_logger/src/terminal_overrides.dart
that imports:package:mason_logger/src/ffi/terminal.dart
that imports:package:mason_logger/src/ffi/windows_terminal.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Web`.
Because:
package:cmd_plus/cmd_plus.dart
that imports:package:mason_logger/mason_logger.dart
that imports:package:mason_logger/src/mason_logger.dart
that imports:package:mason_logger/src/terminal_overrides.dart
that imports:package:mason_logger/src/ffi/terminal.dart
that imports:package:mason_logger/src/ffi/windows_terminal.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:cmd_plus/cmd_plus.dart
that imports:package:cmd_plus/src/utility/utility.dart
that imports:package:cmd_plus/src/utility/src/file_extensions.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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
WARNING: Doc directive is missing a closing tag.
lib/src/cmd_plus.dart:154:7
╷
154 │ /// {@template copy_file}
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/cmd_plus.dart
WARNING: Two keys in a map literal shouldn't be equal.
lib/src/cmd_plus.dart:551:11
╷
551 │ AnsiCode: enableAnsiOutput,
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/cmd_plus.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
freezed |
^2.3.2 |
2.5.8 | 3.0.6 | |
freezed_annotation |
^2.2.0 |
2.4.4 | 3.0.0 | |
io |
^1.0.4 |
1.0.5 | 1.0.5 | |
mason_logger |
^0.2.5 |
0.2.16 | 0.3.3 | |
path |
^1.8.2 |
1.9.1 | 1.9.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 82.0.0 | 82.0.0 | |
analyzer |
- | 7.4.2 | 7.4.2 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
build |
- | 2.4.2 | 2.4.2 | |
build_config |
- | 1.1.2 | 1.1.2 | |
checked_yaml |
- | 2.0.3 | 2.0.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dart_style |
- | 3.0.1 | 3.0.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
source_gen |
- | 2.0.0 | 2.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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.1.1 | 1.1.1 | |
win32 |
- | 5.12.0 | 5.12.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^2.3.2` on freezed does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed
to update the constraint.
The constraint `^2.2.0` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation
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.20
, Dart 3.7.2
.
Check the analysis log for details.