cmd_plus 1.3.3 copy "cmd_plus: ^1.3.3" to clipboard
cmd_plus: ^1.3.3 copied to clipboard

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

2
likes
120/ 140
pub points
38%
popularity

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

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: 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

OK
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.
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

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

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

Package Constraint Compatible Latest
freezed ^2.3.2 2.5.2 2.5.2
freezed_annotation ^2.2.0 2.4.1 2.4.1
io ^1.0.4 1.0.4 1.0.4
mason_logger ^0.2.5 0.2.12 0.2.12
path ^1.8.2 1.9.0 1.9.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 67.0.0 67.0.0
analyzer - 6.4.1 6.4.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.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.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dart_style - 2.3.6 2.3.6
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
glob - 2.1.2 2.1.2
json_annotation - 4.8.1 4.8.1
logging - 1.2.0 1.2.0
meta - 1.14.0 1.14.0
package_config - 2.1.0 2.1.0
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.2.3 1.2.3
source_gen - 1.5.0 1.5.0
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
watcher - 1.1.0 1.1.0
win32 - 5.4.0 5.4.0
yaml - 3.1.2 3.1.2

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

Analyzed with Pana 0.22.2, Dart 3.3.3.

Check the analysis log for details.

2
likes
120
pub points
38%
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