Search packages, repositories and app categories

mason_cli cover
Package detailsv0.1.4

mason_cli

Mason CLI allows developers to create and consume reusable templates called bricks.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
205K
Likes
424
Pub points
160

Install package

flutter pub add mason_cli

Package Overview

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

Mason CLI is a command-line tool that enables developers to create, manage, and reuse project templates called bricks. These templates streamline repetitive setup tasks across Flutter and other Dart projects by allowing users to generate code structures with predefined configurations. Mason integrates seamlessly into development workflows, supporting multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. It promotes consistency and accelerates project initialization through customizable, shareable templates.

Use cases

  • Generating boilerplate code for new projects
  • Standardizing team project setups
  • Automating repetitive file structure creation
  • Creating reusable component scaffolds
  • Onboarding new developers with consistent templates

Key features

  • Supports cross-platform template generation
  • Built-in template management system
  • Extensible brick ecosystem
  • CLI-driven workflow integration
  • Template versioning and sharing

Suitable for

  • Flutter developers seeking rapid project setup
  • Teams needing standardized project templates
  • Open-source contributors building reusable scaffolding tools
  • CI/CD pipelines requiring automated code generation

Considerations

  • Requires familiarity with template syntax
  • Limited GUI; primarily CLI-based
  • Dependency on external brick repositories
  • Learning curve for advanced template logic
  • May require configuration for complex use cases

Original README

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

mason logo

mason coverage License: MIT Powered by Mason


A collection of packages that enable developers to create and consume reusable templates called bricks.

Mason Demo

Packages

Package Pub
mason pub package
mason_api pub package
mason_cli pub package
mason_logger pub package

Quick Start

# 🎯 Activate from https://pub.dev
dart pub global activate mason_cli

# 🚀 Initialize mason
mason init

# 📦 Install your first brick
mason add hello

# 🧱 Use your first brick
mason make hello

Documentation

View the full documentation here.

Video Tutorials

Package of the Week by Flutter Observable Flutter: Building a Mason brick by Flutter
mason (Package of the Week) Observable Flutter: Building a Mason brick
Meet Mason: Flutter Vikings 2022 by Flutter Community Felix Angelov Demos Mason by Very Good Ventures
Meet Mason: Intro to Templating and Custom Code Generation Mason Video Tutorial

Badge

Add a markdown badge to indicate your project is powered by mason → Powered by Mason

[![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason)

Categories

Dependencies

Dependency list 9 items

Source repository

Projects using this package

Rankings