패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.4.2

mvvm_cli_nerdzlab

MVVM CLI 도구는 MVVM 프로젝트 생성을 간소화하기 위해 설계된 명령줄 유틸리티입니다.

macOSWindowsLinux
30일 다운로드
24
좋아요
1
Pub 점수
120

패키지 설치

flutter pub add mvvm_cli_nerdzlab

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

MVVM CLI 도구는 Flutter 프로젝트에서 MVVM(모델-뷰-뷰모델) 아키텍처를 설정하는 것을 간소화하는 명령줄 유틸리티입니다. 모델, 뷰, 뷰모델 및 필요한 보일러플레이트 코드를 포함한 프로젝트 구조를 자동으로 생성합니다. 일관성 있고 확장 가능한 Flutter 앱 구성이 필요한 개발자를 위해 설계되었으며, 반복적인 설정 작업을 줄이고 최선의 실천 방법을 촉진합니다. macOS, Windows, Linux를 지원하여 다양한 플랫폼에서 접근 가능합니다. pub.dev를 통해 Flutter와 원활하게 통합됩니다.

사용 사례

  • MVVM을 사용하여 새로운 Flutter 프로젝트를 빠르게 세팅하세요
  • MVVM 구성 요소용 폴더 및 파일 생성 자동화
  • 팀 간에 일관된 프로젝트 구조 유지
  • 보일러플레이트 설정을 줄여 개발 속도를 가속화하세요
  • 사전 정의된 템플릿으로 애자일 워크플로우 지원

주요 기능

  • 자동화된 MVVM 폴더 및 파일 생성
  • 크로스 플랫폼 지원 (macOS, Windows, Linux)
  • Flutter의 pub.dev 패키지 시스템과의 통합
  • 템플릿 기반 프로젝트 스켈레톤 생성
  • 사용자 정의 가능한 프로젝트 구조

적합한 대상

  • MVVM 아키텍처를 채택한 플러터 개발자
  • 표준화된 프로젝트 설정이 필요한 팀
  • MVVM 패턴을 배우는 초보자
  • 구조화된 코드를 통한 빠른 프로토타이핑
  • 수동 설정 시간을 줄이려는 개발자

고려 사항

  • MVVM 개념에 익숙해야 합니다
  • 제공된 템플릿 외의 맞춤 설정이 제한적입니다
  • 업데이트를 위해 외부 GitHub 저장소에 의존합니다
  • 생성 후 수동 조정이 필요할 수 있습니다
  • 기존 프로젝트 리팩터링보다는 새로운 프로젝트에 적합

원본 README

연결된 소스 저장소의 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

카테고리

의존성

의존성 목록 4 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.