mvvm_cli_nerdzlab
Ferramenta CLI MVVM, uma utilidade de linha de comando projetada para agilizar a criação de projetos MVVM.
Utilitário de linha de comando projetado para agilizar a criação de projetos MVVM
Texto original em inglês. Visite o GitHub para a versão atual.
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