cmd_plus 1.3.2 copy "cmd_plus: ^1.3.2" to clipboard
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.

3
likes
130/ 160
pub points
59%
popularity

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

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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

134 out of 231 API elements (58.0 %) 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

failed
Platform support
20 / 20trigger folding of the section

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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

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
freezed ^2.3.2 2.5.7 2.5.7
freezed_annotation ^2.2.0 2.4.4 2.4.4
io ^1.0.4 1.0.4 1.0.4
mason_logger ^0.2.5 0.2.16 0.3.1
path ^1.8.2 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 73.0.0 76.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.8.0 6.11.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
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 - 2.3.7 2.3.7
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.0
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.0
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
source_gen - 1.5.0 1.5.0
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
watcher - 1.1.0 1.1.0
win32 - 5.8.0 5.8.0
yaml - 3.1.2 3.1.2

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

The constraint `^0.2.5` on mason_logger does not support the stable version `0.3.0`.

Try running dart pub upgrade --major-versions mason_logger 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.15, Dart 3.5.4.

Check the analysis log for details.

3
likes
130
pub points
59%
popularity

Publisher

verified publishermankeli.co

A wrapper around dart:io Process, package:io and mason_logger to make it easier to run commands in dart scripts.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

freezed, freezed_annotation, io, mason_logger, path

More

Packages that depend on cmd_plus