mvvm_cli_nerdzlab
MVVM CLI ツールは、MVVM プロジェクトの作成を簡素化するためのコマンドラインユーティリティです。
MVVM プロジェクトの作成を簡素化するためのコマンドラインユーティリティ
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
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.
Use mvvm create.
Use mvvm analyze --arb.
.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.
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"
To verify that the installation was successful and the PATH is correctly set, run:
mvvm