raihan_cli 1.1.0 copy "raihan_cli: ^1.1.0" to clipboard
raihan_cli: ^1.1.0 copied to clipboard

raihan_cli is a Dart-based CLI tool designed to generate feature folder structures in Flutter projects, supporting both MVC and MVVM architectures. It simplifies project scaffolding and ensures consis [...]

๐Ÿ“ฆ Changelog #

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.


1.1.0 - 2025-09-25 #

โœจ Enhancements #

  • ๐Ÿงน Simplified user prompts

    • Path type input now strictly accepts 1 or 2, ensuring clearer validation and reducing accidental mis-entries.
    • Architecture selection refined to immediately validate input.
  • โšก Cleaner configuration handling

    • Removed unnecessary re-reads of the config file after saving.
    • Streamlined _saveConfig and _readConfig for better readability.
  • ๐Ÿ’ก Improved CLI UX

    • More consistent print statements and comments.
    • Reduced redundant logic while preserving all existing features.

๐Ÿ› ๏ธ Code Quality #

  • Refactored code blocks for improved maintainability and readability.
  • Consolidated repetitive checks and exception handling.

1.0.0 - 2025-09-23 #

๐ŸŽ‰ Initial release of raihan_cli!

โœจ Features #

  • ๐Ÿš€ Generate Flutter feature folders and files based on:
    • MVC architecture
    • MVVM architecture
  • ๐Ÿ“ Supports two path types:
    • Feature-based path: lib/src/features/<feature_name>
    • Custom path: lib/<custom_path>/<feature_name>
  • ๐Ÿง  Smart config saving for:
    • Preferred path type
    • Preferred architecture
  • ๐Ÿ—‘๏ธ Remove existing feature folders with confirmation prompt
  • ๐Ÿงฑ Auto-generate the following:
    • Controllers / ViewModels
    • Repository interfaces and implementations (for MVVM)
    • Models
    • Screens and widget directories

๐Ÿ“‚ Structure Examples #

  • lib/src/features/<feature_name>/ (default)
  • lib/<custom_path>/<feature_name>/ (custom path)

๐Ÿ”ฎ Next Planned Features #

  • โŒ Clean architecture support
  • โŒ Bloc/Cubit file generation
  • โŒ Optional test file scaffolding
  • โŒ Custom templates for files
8
likes
150
points
8
downloads

Publisher

verified publisherraihansikdar.com

Weekly Downloads

raihan_cli is a Dart-based CLI tool designed to generate feature folder structures in Flutter projects, supporting both MVC and MVVM architectures. It simplifies project scaffolding and ensures consistent architecture practices.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on raihan_cli