env_builder_cli 1.1.2
env_builder_cli: ^1.1.2 copied to clipboard
A Flutter CLI tool to automate the creation and maintenance of the env Flutter package from multiple .env files.
We analyzed this package 4 days ago, and awarded it 150 pub points (of a possible 160):
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: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
124 out of 131 API elements (94.7 %) have documentation comments.
Some symbols that are missing documentation: env_builder_cli, env_builder_cli.BuildCommand.BuildCommand.new, env_builder_cli.DecryptCommand.DecryptCommand.new, env_builder_cli.EncryptCommand.EncryptCommand.new, env_builder_cli.EnvBuilder.EnvBuilder.new.
10/10 points: Package has an example
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:env_builder_cli/env_builder_cli.dartthat imports:package:env_builder_cli/src/bin/bin.dartthat imports:package:env_builder_cli/src/bin/commands/commands.dartthat imports:package:env_builder_cli/src/bin/commands/version_command.dartthat imports:package:env_builder_cli/src/core/core.dartthat imports:package:env_builder_cli/src/core/env_crypto.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/src/_exports_in_browser.dartthat imports:package:universal_io/src/internet_address.dartthat imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:env_builder_cli/env_builder_cli.dartthat imports:package:env_builder_cli/src/bin/bin.dartthat imports:package:env_builder_cli/src/bin/commands/commands.dartthat imports:package:env_builder_cli/src/bin/commands/version_command.dartthat imports:package:env_builder_cli/src/core/core.dartthat imports:package:env_builder_cli/src/core/env_crypto.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/src/_exports_in_vm.dartthat imports:package:universal_io/src/new_universal_http_client.dartthat imports:package:universal_io/src/_helpers.dartthat imports:package:universal_io/src/_helpers_impl_elsewhere.dartthat 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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Unnecessary braces in a string interpolation.
lib/src/bin/commands/encrypt_command.dart:23:75
╷
23 │ final output = argResults!.rest.length > 1 ? argResults!.rest[1] : '${input}.encrypted';
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/bin/commands/encrypt_command.dart
/tmp/pana_NWABKH/bin/env_builder_cli.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.7.0 |
2.7.0 | 2.7.0 | |
cli_util |
^0.4.0 |
0.4.2 | 0.4.2 | |
crypto |
^3.0.6 |
3.0.7 | 3.0.7 | |
encrypt |
^5.0.3 |
5.0.3 | 5.0.3 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
universal_io |
^2.2.2 |
2.2.2 | 2.2.2 | |
yaml |
^3.1.1 |
3.1.3 | 3.1.3 | |
yaml_edit |
^2.2.2 |
2.2.2 | 2.2.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
asn1lib |
- | 1.6.5 | 1.6.5 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
meta |
- | 1.17.0 | 1.17.0 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.1, Dart 3.9.4.
Check the analysis log for details.