Skip to main content

cmdline 1.1.0 copy "cmdline: ^1.1.0" to clipboard
cmdline: ^1.1.0 copied to clipboard

An SDK for console development

130/ 160
pub points
2.03k
downloads

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

Failed report section
Follow Dart file conventions
10 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

pubspec.yaml from the repository has a repository or homepage field "https://pub.dev/packages/cmdline" but cannot be parsed as a repository URL: Invalid repository URL: Could not recognize URL segments: /packages/cmdline. Please report at pana.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: cmdline,
    • contains a version property, and,
    • does not contain a publish_to property.
Homepage URL doesn't exist.

At the time of the analysis https://recollect.cc/ was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

1504 out of 1553 API elements (96.8 %) have documentation comments.

Some symbols that are missing documentation: cmdline, cmdline.CLEAR_LINE, cmdline.CMD, cmdline.CMD.draw, cmdline.CMD.fs.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:cmdline/cmdline.dart that imports:
  • package:cmdline/src/logger/progress_bar.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/cli/commands/help.dart:156:7

    ╷
156 │       notes.add('default: ${option.defaultValue}');
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/cli/commands/help.dart

INFO: Statements in an if should be enclosed in a block.

lib/src/cmdline/cmd/fs.dart:141:7

    ╷
141 │       file.writeAsStringSync(text.replaceAll(existing, replacement));
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/cmdline/cmd/fs.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

No dependencies.

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
2.03k
downloads

Documentation

API reference

Publisher

verified publisherrecollect.cc

Weekly Downloads

An SDK for console development

Topics

#logging #console #cli #terminal #command

License

unknown (license)

More

Packages that depend on cmdline