gen_cli 1.1.0 gen_cli: ^1.1.0 copied to clipboard
Command-line application to gen api and model.
We analyzed this package 5 hours ago, and awarded it 100 pub points (of a possible 160):
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 60 to 180 characters to describe the package, what it does, and its target use case.
Homepage URL is insecure.
Update the homepage
field and use a secure (https
) URL.
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: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
54 out of 441 API elements (12.2 %) 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: args_mixin
, args_mixin.ArgsMixin
, check_dev_version
, check_dev_version.isDevVersion
, cli_config
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:gen_cli/gen_cli.dart
that imports:package:gen_cli/core/generator.dart
that imports:package:gen_cli/commands/impl/help/help.dart
that imports:package:gen_cli/commands/commands_list.dart
that imports:package:gen_cli/commands/impl/commads_export.dart
that imports:package:gen_cli/commands/impl/generate/swagger2api.dart
that imports:package:gen_cli/commands/impl/generate/swagger_parser.dart
that imports:package:gen_cli/functions/create/create_single_file.dart
that imports:package:gen_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:gen_cli/gen_cli.dart
that imports:package:gen_cli/core/generator.dart
that imports:package:gen_cli/commands/impl/help/help.dart
that imports:package:gen_cli/commands/commands_list.dart
that imports:package:gen_cli/commands/impl/commads_export.dart
that imports:package:gen_cli/commands/impl/generate/swagger2api.dart
that imports:package:gen_cli/commands/impl/generate/swagger_parser.dart
that imports:package:gen_cli/functions/create/create_single_file.dart
that imports:package:gen_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:gen_cli/gen_cli.dart
that imports:package:gen_cli/core/generator.dart
that imports:package:gen_cli/commands/impl/help/help.dart
that imports:package:gen_cli/commands/commands_list.dart
that imports:package:gen_cli/commands/impl/commads_export.dart
that imports:package:gen_cli/commands/impl/generate/swagger2api.dart
that imports:package:gen_cli/commands/impl/generate/swagger_parser.dart
that imports:package:gen_cli/functions/create/create_single_file.dart
that imports:package:gen_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:gen_cli/gen_cli.dart
that imports:package:gen_cli/core/generator.dart
that imports:package:gen_cli/commands/impl/help/help.dart
that imports:package:gen_cli/commands/commands_list.dart
that imports:package:gen_cli/commands/impl/commads_export.dart
that imports:package:gen_cli/commands/impl/generate/swagger2api.dart
that imports:package:gen_cli/commands/impl/generate/swagger_parser.dart
that imports:package:gen_cli/functions/create/create_single_file.dart
that imports:package:gen_cli/common/menu/menu.dart
that imports:package:dcli/dcli.dart
that imports:package:dcli/src/util/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:gen_cli/gen_cli.dart
that imports:package:gen_cli/core/generator.dart
that imports:package:gen_cli/commands/impl/help/help.dart
that imports:package:gen_cli/commands/commands_list.dart
that imports:package:gen_cli/commands/impl/commads_export.dart
that imports:package:gen_cli/commands/impl/generate/swagger2api.dart
that imports:package:gen_cli/commands/impl/generate/swagger_parser.dart
that imports:package:gen_cli/functions/create/create_single_file.dart
that imports:package:gen_cli/common/menu/menu.dart
that imports:package:dcli/dcli.dart
that imports:package:dcli/src/util/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
.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 19 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/common/utils/json_serialize/json_ast/location.dart:18:17
╷
18 │ bool operator ==(dynamic other) =>
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/common/utils/json_serialize/json_ast/location.dart
WARNING: The parameter type of '==' operators should be non-nullable.
lib/common/utils/json_serialize/json_ast/location.dart:37:17
╷
37 │ bool operator ==(dynamic other) =>
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/common/utils/json_serialize/json_ast/location.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ansicolor |
>=2.0.1 <3.0.0 |
2.0.2 | 2.0.2 |
collection |
>=1.15.0 <2.0.0 |
1.19.0 | 1.19.0 |
dart_style |
>=2.0.1 <3.0.0 |
2.3.6 | 2.3.6 |
dcli |
^1.31.2 |
1.31.3 | 4.0.2 |
http |
>=0.13.4 <2.0.0 |
0.13.6 | 1.2.1 |
intl |
>=0.17.0 <1.0.0 |
0.19.0 | 0.19.0 |
meta |
^1.9.1 |
1.15.0 | 1.15.0 |
path |
>=1.8.0 <2.0.0 |
1.9.0 | 1.9.0 |
process_run |
>=0.12.2 <1.0.0 |
0.14.2 | 0.14.2 |
pubspec |
>=2.0.1 <3.0.0 |
2.3.0 | 2.3.0 |
recase |
>=4.0.0 <5.0.0 |
4.1.0 | 4.1.0 |
version |
>=2.0.0 <4.0.0 |
3.0.2 | 3.0.2 |
yaml |
>=3.1.0 <4.0.0 |
3.1.2 | 3.1.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_fe_analyzer_shared |
- | 68.0.0 | 72.0.0 |
_macros |
- | 0.1.0 | 0.1.0 |
analyzer |
- | 6.5.0 | 6.7.0 |
archive |
- | 3.6.1 | 3.6.1 |
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
basic_utils |
- | 3.9.4 | 5.7.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
chunked_stream |
- | 1.4.2 | 1.4.2 |
circular_buffer |
- | 0.11.0 | 0.11.0 |
clock |
- | 1.1.1 | 1.1.1 |
convert |
- | 3.1.1 | 3.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
csv |
- | 5.1.1 | 6.0.0 |
dart_console |
- | 1.0.0 | 4.1.0 |
dcli_core |
- | 1.34.1 | 4.0.2 |
equatable |
- | 2.0.5 | 2.0.5 |
ffi |
- | 1.2.1 | 2.1.2 |
file |
- | 6.1.4 | 7.0.0 |
file_utils |
- | 1.0.1 | 1.0.1 |
glob |
- | 2.1.2 | 2.1.2 |
globbing |
- | 1.0.0 | 1.0.0 |
http_parser |
- | 4.1.0 | 4.1.0 |
ini |
- | 2.1.0 | 2.1.0 |
js |
- | 0.7.1 | 0.7.1 |
json_annotation |
- | 4.9.0 | 4.9.0 |
logging |
- | 1.2.0 | 1.2.0 |
macros |
- | 0.1.0-main.0 | 0.1.2-main.4 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
mime |
- | 1.0.5 | 1.0.5 |
package_config |
- | 2.1.0 | 2.1.0 |
pointycastle |
- | 3.9.1 | 3.9.1 |
posix |
- | 3.1.0 | 6.0.1 |
pub_semver |
- | 2.1.4 | 2.1.4 |
quiver |
- | 3.2.1 | 3.2.1 |
random_string |
- | 2.3.1 | 2.3.1 |
scope |
- | 2.2.1 | 4.1.0 |
settings_yaml |
- | 3.5.1 | 8.1.0 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stacktrace_impl |
- | 2.3.0 | 2.3.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.2.0 |
synchronized |
- | 3.1.0+1 | 3.1.0+1 |
system_info2 |
- | 2.0.4 | 4.0.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.2 | 0.7.2 |
typed_data |
- | 1.3.2 | 1.3.2 |
uri |
- | 1.0.0 | 1.0.0 |
uuid |
- | 3.0.7 | 4.4.0 |
validators2 |
- | 3.0.0 | 5.0.0 |
vin_decoder |
- | 0.2.1-nullsafety | 0.2.1-nullsafety |
watcher |
- | 1.1.0 | 1.1.0 |
win32 |
- | 2.6.1 | 5.5.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.31.2` on dcli does not support the stable version `2.0.1`.
Try running dart pub upgrade --major-versions dcli
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.7
, Dart 3.4.3
.
Check the analysis log for details.