Wholesome Cli

screenshot of Wholesome Cli

Command Line Tool for managing Flutter projects

Overview:

Wholesome is an innovative Command Line Tool designed to streamline the process of code generation for Flutter projects. By implementing a default architecture based on the BLoC (Business Logic Component) pattern, Wholesome aims to enhance productivity and maintainability in Flutter development. With its ability to quickly generate projects and boilerplate code, it allows developers to focus on building features rather than getting bogged down in setup tasks.

One of the standout features of Wholesome is its ease of installation and usage. It operates through the Dart package manager pub, making it a practical choice for Flutter developers looking to adopt best practices with minimal friction. With a structured folder system for files and components, developers can create efficient and organized projects that adhere to modern programming paradigms.

Features:

  • Intuitive Command Interface: All commands are executed through the wsm binary, making it user-friendly for developers familiar with command line tools.

  • Project Initialization: The new command generates a complete Flutter project with a predefined folder structure and boilerplate code, saving time on initial setup.

  • Boilerplate Code Generation: The generate command helps create reusable boilerplate code for various components, promoting efficient code reuse and organization.

  • State Management Support: Wholesome automates the creation of stateful components, producing essential files like .bloc.dart for managing the component's state through events.

  • Helper Functions: The generated helpers.dart file provides utility functions for common tasks, enhancing the development speed by avoiding code duplication.

  • Routing Management: The routes.dart file simplifies routing by allowing developers to easily add and manage application routes, keeping navigation organized and straightforward.

  • Custom Constants: Generated files for assets, colors, and styles ensure that developers can easily manage constants, making the app's styling consistent and scalable.

  • Easy Installation: Wholesome can be installed directly via the pub.dev package manager, or for those wanting the latest features, directly from the repository, enhancing accessibility for all developers.

Flutter

Flutter is an open-source UI framework developed by Google that allows developers to create high-performance, cross-platform mobile applications with a single codebase.