rgb_cli 1.0.5 copy "rgb_cli: ^1.0.5" to clipboard
rgb_cli: ^1.0.5 copied to clipboard

CLI tool for the GetX RGB ecosystem and codebase

90/ 160
pub points
355
downloads

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

Failed report section
Follow Dart file conventions
20 / 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.

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

127 out of 752 API elements (16.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: add_dependencies, add_export, add_export.addExport, analysis_options, analysis_options.AnalysisOptionsSample.AnalysisOptionsSample.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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:rgb_cli/rgb_cli.dart that imports:
  • package:rgb_cli/extensions.dart that imports:
  • package:rgb_cli/extensions/dart_code.dart that imports:
  • package:rgb_cli/functions/create/create_single_file.dart that imports:
  • package:rgb_cli/functions/sorter_imports/sort.dart that imports:
  • package:rgb_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:rgb_cli/common/utils/shell/shel.utils.dart that imports:
  • package:rgb_cli/core/generator.dart that imports:
  • package:rgb_cli/commands/impl/help/help.dart that imports:
  • package:rgb_cli/commands/commands_list.dart that imports:
  • package:rgb_cli/commands/impl/commads_export.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init_getxpattern.dart that imports:
  • package:rgb_cli/functions/create/create_main.dart that imports:
  • package:rgb_cli/common/menu/menu.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:rgb_cli/rgb_cli.dart that imports:
  • package:rgb_cli/extensions.dart that imports:
  • package:rgb_cli/extensions/dart_code.dart that imports:
  • package:rgb_cli/functions/create/create_single_file.dart that imports:
  • package:rgb_cli/functions/sorter_imports/sort.dart that imports:
  • package:rgb_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:rgb_cli/common/utils/shell/shel.utils.dart that imports:
  • package:rgb_cli/core/generator.dart that imports:
  • package:rgb_cli/commands/impl/help/help.dart that imports:
  • package:rgb_cli/commands/commands_list.dart that imports:
  • package:rgb_cli/commands/impl/commads_export.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init_getxpattern.dart that imports:
  • package:rgb_cli/functions/create/create_main.dart that imports:
  • package:rgb_cli/common/menu/menu.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:rgb_cli/rgb_cli.dart that imports:
  • package:rgb_cli/extensions.dart that imports:
  • package:rgb_cli/extensions/dart_code.dart that imports:
  • package:rgb_cli/functions/create/create_single_file.dart that imports:
  • package:rgb_cli/functions/sorter_imports/sort.dart that imports:
  • package:rgb_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:rgb_cli/common/utils/shell/shel.utils.dart that imports:
  • package:rgb_cli/core/generator.dart that imports:
  • package:rgb_cli/commands/impl/help/help.dart that imports:
  • package:rgb_cli/commands/commands_list.dart that imports:
  • package:rgb_cli/commands/impl/commads_export.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init_getxpattern.dart that imports:
  • package:rgb_cli/functions/create/create_main.dart that imports:
  • package:rgb_cli/common/menu/menu.dart that imports:
  • 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:rgb_cli/rgb_cli.dart that imports:
  • package:rgb_cli/extensions.dart that imports:
  • package:rgb_cli/extensions/dart_code.dart that imports:
  • package:rgb_cli/functions/create/create_single_file.dart that imports:
  • package:rgb_cli/functions/sorter_imports/sort.dart that imports:
  • package:rgb_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:rgb_cli/common/utils/shell/shel.utils.dart that imports:
  • package:rgb_cli/core/generator.dart that imports:
  • package:rgb_cli/commands/impl/help/help.dart that imports:
  • package:rgb_cli/commands/commands_list.dart that imports:
  • package:rgb_cli/commands/impl/commads_export.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init_getxpattern.dart that imports:
  • package:rgb_cli/functions/create/create_main.dart that imports:
  • package:rgb_cli/common/menu/menu.dart that imports:
  • 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:rgb_cli/rgb_cli.dart that imports:
  • package:rgb_cli/extensions.dart that imports:
  • package:rgb_cli/extensions/dart_code.dart that imports:
  • package:rgb_cli/functions/create/create_single_file.dart that imports:
  • package:rgb_cli/functions/sorter_imports/sort.dart that imports:
  • package:rgb_cli/common/utils/pubspec/pubspec_utils.dart that imports:
  • package:rgb_cli/common/utils/shell/shel.utils.dart that imports:
  • package:rgb_cli/core/generator.dart that imports:
  • package:rgb_cli/commands/impl/help/help.dart that imports:
  • package:rgb_cli/commands/commands_list.dart that imports:
  • package:rgb_cli/commands/impl/commads_export.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init.dart that imports:
  • package:rgb_cli/commands/impl/init/flutter/init_getxpattern.dart that imports:
  • package:rgb_cli/functions/create/create_main.dart that imports:
  • package:rgb_cli/common/menu/menu.dart that imports:
  • 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.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:rgb_cli/rgb_cli.dart that imports:
  • package:rgb_cli/extensions.dart that imports:
  • package:rgb_cli/extensions/dart_code.dart that imports:
  • package:rgb_cli/functions/formatter_dart_file/frommatter_dart_file.dart that imports:
  • package:dart_style/dart_style.dart that imports:
  • package:dart_style/src/dart_formatter.dart that imports:
  • package:dart_style/src/short/source_visitor.dart that imports:
  • package:dart_style/src/short/call_chain_visitor.dart that imports:
  • package:dart_style/src/short/argument_list_visitor.dart that imports:
  • package:dart_style/src/ast_extensions.dart that imports:
  • package:analyzer/dart/ast/ast.dart that imports:
  • package:analyzer/src/dart/ast/ast.dart that imports:
  • package:analyzer/src/lint/constants.dart that imports:
  • package:analyzer/src/error/codes.dart that imports:
  • package:analyzer/dart/element/type.dart that imports:
  • package:analyzer/src/dart/element/type.dart that imports:
  • package:analyzer/src/utilities/extensions/element.dart that imports:
  • package:analyzer/src/dart/element/member.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/summary2/linked_element_factory.dart that imports:
  • package:analyzer/src/summary2/export.dart that imports:
  • package:analyzer/src/summary2/library_builder.dart that imports:
  • package:analyzer/src/summary2/types_builder.dart that imports:
  • package:analyzer/src/summary2/link.dart that imports:
  • package:analyzer/src/summary2/variance_builder.dart that imports:
  • package:analyzer/src/summary2/record_type_builder.dart that imports:
  • package:analyzer/src/dart/element/type_visitor.dart that imports:
  • package:analyzer/src/summary2/named_type_builder.dart that imports:
  • package:analyzer/src/dart/element/type_system.dart that imports:
  • package:analyzer/src/generated/inference_log.dart that imports:
  • package:analyzer/src/generated/resolver.dart that imports:
  • package:analyzer/src/util/ast_data_extractor.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/dart/resolver/scope.dart that imports:
  • package:analyzer/src/generated/engine.dart that imports:
  • package:analyzer/src/dart/analysis/analysis_options.dart that imports:
  • package:analyzer/src/lint/registry.dart that imports:
  • package:analyzer/src/analysis_rule/rule_context.dart that imports:
  • package:analyzer/analysis_rule/analysis_rule.dart that imports:
  • package:analyzer/src/lint/pub.dart that imports:
  • package:analyzer/source/file_source.dart that imports:
  • package:analyzer/file_system/file_system.dart that imports:
  • package:watcher/watcher.dart that imports:
  • package:watcher/src/file_watcher/polling.dart that imports:
  • package:watcher/src/stat.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.

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 29 issues. Showing the first 2:

INFO: Unnecessary override.

lib/common/utils/json_serialize/json_ast/tokenize.dart:334:11

    ╷
334 │   int get hashCode => super.hashCode;
    │           ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/common/utils/json_serialize/json_ast/tokenize.dart

INFO: Missing type annotation.

lib/common/utils/pubspec/pubspec_utils.dart:22:14

   ╷
22 │   static get pubspecJson => loadYaml(pubspecString);
   │              ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/common/utils/pubspec/pubspec_utils.dart

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

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

Package Constraint Compatible Latest Notes
ansicolor >=2.0.3 <3.0.0 2.0.3 2.0.3
collection >=1.18.0 <1.19.1 1.19.0 1.19.1
dart_style >=3.1.2 <4.0.0 3.1.2 3.1.2
dcli >=6.0.5 <7.0.5 7.0.4 7.1.1
http >=1.1.0 <1.5.0 1.4.0 1.5.0
intl >=0.18.0 <0.20.2 0.20.1 0.20.2
meta >=1.14.0 <2.0.0 1.17.0 1.17.0
path >=1.8.0 <2.0.0 1.9.1 1.9.1
process_run >=0.13.0 <1.0.0 0.14.2 1.2.4
pub_semver >=2.1.4 <3.0.0 2.2.0 2.2.0
pubspec_parse >=1.2.0 <2.0.0 1.5.0 1.5.0
recase >=4.1.0 <5.0.0 4.1.0 4.1.0
version >=3.0.2 <4.0.0 3.0.2 3.0.2
yaml >=3.1.2 <4.0.0 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 89.0.0 89.0.0
analyzer - 8.2.0 8.2.0
archive - 4.0.7 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
checked_yaml - 2.0.4 2.0.4
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.12.0 0.12.0
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csv - 6.0.0 6.0.0
dart_console - 4.1.2 4.1.2
dcli_common - 7.1.0 7.1.0
dcli_core - 7.1.0 7.1.0
dcli_terminal - 7.1.0 7.1.0
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
functional_data - 1.2.0 1.2.0
glob - 2.1.3 2.1.3
globbing - 1.0.0 1.0.0 Discontinued
http_parser - 4.1.2 4.1.2
ini - 2.1.0 2.1.0
json2yaml - 3.0.1 3.0.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
mime - 2.0.0 2.0.0
native_synchronization_temp - 0.7.1 0.7.1
package_config - 2.2.0 2.2.0
posix - 6.0.3 6.0.3
pubspec_lock - 3.0.2 3.0.2
pubspec_manager - 1.0.3 2.0.1
scope - 5.1.0 5.1.0
settings_yaml - 8.3.1 8.3.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
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
strings - 4.0.1 4.0.1
sum_types - 0.3.5 0.4.0
synchronized - 3.4.0 3.4.0
system_info2 - 4.1.0 4.1.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 1.1.8 1.1.8
uuid - 4.5.1 4.5.1
validators2 - 5.0.0 5.0.0
watcher - 1.1.3 1.1.3
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0

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

Found 5 issues. Showing the first 2:

The constraint `>=1.18.0 <1.19.1` on collection does not support the stable version `1.19.1`.

Try running dart pub upgrade --major-versions collection to update the constraint.

The constraint `>=6.0.5 <7.0.5` on dcli does not support the stable version `7.0.5`.

Try running dart pub upgrade --major-versions dcli to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNCHECKED_USE_OF_NULLABLE_VALUE - lib/common/utils/pubspec/pubspec_utils.dart:146:43 - The method '[]' can't be unconditionally invoked because the receiver can be 'null'.

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.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
355
downloads

Publisher

unverified uploader

Weekly Downloads

CLI tool for the GetX RGB ecosystem and codebase

Homepage

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ansicolor, collection, dart_style, dcli, http, intl, meta, path, process_run, pub_semver, pubspec_parse, recase, version, yaml

More

Packages that depend on rgb_cli