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

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

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
0
points
35
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

License

unknown (license)

Dependencies

args, mason_cli, path

More

Packages that depend on mcf_cli