Search packages, repositories and app categories

Package detailsv1.4.2

mvvm_cli_nerdzlab

MVVM CLI Tool, a command-line utility designed to streamline the creation of MVVM projects.

macOSWindowsLinux
30-day downloads
24
Likes
1
Pub points
120

Install package

flutter pub add mvvm_cli_nerdzlab

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

MVVM CLI Tool is a command-line utility that simplifies the setup of MVVM (Model-View-ViewModel) architecture in Flutter projects. It automates the creation of project structure, including models, views, viewmodels, and necessary boilerplate code. Designed for developers seeking consistent and scalable Flutter app organization, it reduces repetitive setup tasks and promotes best practices. The tool supports macOS, Windows, and Linux, making it accessible across platforms. It integrates seamlessly with Flutter via pub.dev.

Use cases

  • Rapidly scaffold new Flutter projects using MVVM
  • Automate folder and file generation for MVVM components
  • Maintain consistent project structure across teams
  • Accelerate development by reducing boilerplate setup
  • Support agile workflows with predefined templates

Key features

  • Automated MVVM folder and file creation
  • Cross-platform support (macOS, Windows, Linux)
  • Integration with Flutter's pub.dev package system
  • Template-based project scaffolding
  • Configurable project structure

Suitable for

  • Flutter developers adopting MVVM architecture
  • Teams requiring standardized project setups
  • Beginners learning MVVM patterns
  • Fast prototyping with structured code
  • Developers aiming to reduce manual setup time

Considerations

  • Requires familiarity with MVVM concepts
  • Limited customization beyond provided templates
  • Depends on external GitHub repository for updates
  • May need manual adjustments post-generation
  • Best suited for new projects rather than refactoring existing ones

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

MVVM CLI Tool

MVVM CLI Tool, a command-line utility designed to streamline the creation of MVVM (Model-View-ViewModel) projects. This tool automates the initial setup of your MVVM architecture, making it easier and faster to get started with your development process.

Features & Usage

  • Create New Projects: Generate a complete MVVM project.
  • Git Initial Commits(optional): Initial commits in created project.

Use mvvm create.

  • Analyze .arb files: Analyze arb files for usage in dart code, and delete not necessary arb keys.

Use mvvm analyze --arb.

  • Generate Colors & TextStyles: Generate colors from .xml files and TextStyles from text_style_const.dart file.

Use mvvm generate or specify the --colors or --textStyle to generate only one type: mvvm generate --colors.

Installation

To install the MVVM CLI tool, run:

dart pub global activate mvvm_cli_nerdzlab

Once the tool is activated, you need to add the .pub-cache/bin directory to your system's PATH to ensure that you can run the mvvm commands from any location in your terminal. This can be done by adding the following line to your shell configuration file (e.g., .bashrc, .zshrc, or .bash_profile):

export PATH="$PATH":"$HOME/.pub-cache/bin"

Verification

To verify that the installation was successful and the PATH is correctly set, run:

mvvm

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package

No data available yet.