mcf_cli 1.0.17 copy "mcf_cli: ^1.0.17" to clipboard
mcf_cli: ^1.0.17 copied to clipboard

The official CLI for Mission-Critical Flutter. Generates forensic-grade architecture, enforces strict compliance, and audits existing projects.

1.0.17 #

  • Compliance: Updated Audit Tool to v4.2, increasing the strict build() method line limit from 40 to 60 lines.

Rationale: Accommodates complex Widget composition (e.g., Stack or BlocConsumer trees) while preserving readability via decomposition.

Fix: Resolved CLI output formatting issue where "Section 4: State Management" was skipped in the final report.

Improvement: The audit tool now explicitly lists State Management rules (5.1–5.7) as "Verified via Architecture Review & Unit Tests" to clearly distinguish between automated regex checks and required manual architectural verification.

1.0.16 #

  • Fix: Updated pubspec.yaml repository URL to point to the correct root repository (mcf_cli) to resolve pub.flutter-io.cn verification errors.
  • Compliance: Achieved 100% pub.flutter-io.cn health score (160/160) by ensuring repository metadata matches the hosted package.
  • Note: This is a metadata-only release; CLI functionality remains unchanged from v1.0.15.

1.0.15 #

  • Feature: Enhanced Audit Tool with strict enforcement of "Pure Dart" Domain logic.
  • Fix: The audit tool now explicitly flags platform-specific dependencies (dart:io, dart:html, dart:ui) in the Domain layer as violations.
  • Rationale: Domain entities must remain platform-agnostic to ensure testability and prevent the "Dart:IO Trap."

1.0.14 #

  • Fix: Added CHECK 3 to audit list: Platform Dependencies (The "Dart:IO" Trap) Domain must be Pure Dart. It cannot know about the File System (IO) or the Browser (HTML) or the Rendering Engine (UI).

1.0.13 #

  • Fix: Moved widget_test.dart to the root test/ directory to correctly overwrite the default Flutter test file.
  • Fix: Resolved file collision where flutter test would fail due to duplicate widget tests (one checking MyApp, one checking MissionCriticalApp).
  • Fix: All generated tests now pass strict linting and execution immediately after creation.

1.0.12 #

  • Fix: Updated analysis_options.yaml to exclude tool/ from linting and disabled directives_ordering to support dynamic template names.
  • Fix: Resolved all strict linter warnings in generated code (imports, line lengths, doc comments, trailing commas).
  • Fix: Converted Golden Tests to Smoke Tests to ensure cross-platform compatibility (Windows/Mac/Linux) out of the box.
  • Fix: Updated user_cubit_test.dart with valid Mock Data to prevent compilation errors in new projects.
  • Fix: Corrected logic in profile_screen.dart to match the Cubit API (loadUser vs loadProfile).

1.0.11 #

  • Fix: Solved compilation errors in profile_screen.dart (corrected property access data vs user and class naming UserFailure vs UserError).
  • Fix: Implemented missing saveUser method in user_repository_impl.dart to satisfy the Interface contract.
  • Fix: Updated widget_test.dart to use the correct MissionCriticalApp class and inject dependencies.

1.0.10 #

  • Fix: Resolved part of import errors in generated tests (profile_screen_test.dart now imports user_cubit.dart).
  • Fix: Corrected mismatched state class naming in tests (UserErrorUserFailure).

1.0.9 #

  • Fix: Resolved part of import errors in generated tests (profile_screen_test.dart).
  • Fix: Corrected mismatched state names in tests (UserErrorUserFailure).
  • Fix: Gracefully handle audit failures in CLI without unhandled exceptions.

1.0.8 #

  • Fix: Hardcoded file naming in mcf_new template to prevent _cubit.dart generation errors.
  • Fix: Resolved strict linter errors in generated Data Layer files (user_model.dart, user_repository_impl.dart).
  • Fix: Added global error handling to CLI to prevent crashes during failed audits.
  • Improvement: mcf new now correctly wires up main.dart with Dependency Injection.

1.0.7 #

  • Update: RREADME.md.

1.0.6 #

  • Fix: Solved Windows PATH latency by using direct Dart package execution (dart pub global run) as a fallback.

1.0.5 #

  • Fix: Enhanced Windows detection for missing Mason CLI (checks exit code).

1.0.4 #

  • Fix: Auto-installs mason_cli if missing from the user's system.

1.0.3 #

  • Fix: Solved "Bad state: No terminal attached" crash by enabling interactive mode during brick installation.

1.0.2 #

  • Fix: Updated GitHub repository URL to point to the correct brick location.

1.0.1 #

  • Fix: Windows compatibility issue where mason command was not found.

1.0.0 #

  • Initial release.
1
likes
150
points
341
downloads

Publisher

verified publisher505techsupport.com

Weekly Downloads

The official CLI for Mission-Critical Flutter. Generates forensic-grade architecture, enforces strict compliance, and audits existing projects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, mason_cli, path

More

Packages that depend on mcf_cli