FLUTTER ECOSYSTEM

nerdzlab/NerdzFlutter-MVVMCli

命令列工具,旨在簡化 MVVM 專案的建立

NerdzFlutter-MVVMCli 專案封面
Stars
0
Forks
0
最近推送(UTC)
2025年3月18日
專案狀態
未封存
NERDZ LAB GitHub avatar
GITHUB Organization

NERDZ LAB ↗

Ukraine, Lviv官方網站 ↗
語言DartJavaObjective-CRubyShell

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 6 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

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