devforge 1.4.3 copy "devforge: ^1.4.3" to clipboard
devforge: ^1.4.3 copied to clipboard

CLI tool to generate Flutter/Dart boilerplate code.

devforge #

Dart Flutter License

๐Ÿš€ A powerful CLI for generating Flutter/Dart boilerplate code

Stop writing the same utility files again and again โ€” let devforge generate them for you.


๐Ÿ“š Documentation & Library API #

This README is the single source of documentation for DevForge. It covers:

  • What DevForge is and the problems it solves.
  • Installation, requirements, and usage (including all CLI commands).
  • Configuration via devforge.yaml and saved user name.
  • High-level project structure, architecture, coding guidelines, and future work.

DevForge is primarily a CLI tool, not a library intended for direct import. Public symbols under lib/ (generators, templates, utilities) exist to support the CLI and are not a stable library API โ€“ prefer running the devforge executable instead of importing these files directly.


๐Ÿ“‘ Table of Contents #


๐ŸŽฏ Project Goals #

Goal Description
โšก Simple Commands Provide easy-to-use commands for common Flutter workflows
๐Ÿ” Reduce Repetition Avoid rewriting the same boilerplate code
๐Ÿงญ Dual Modes Support both direct commands and interactive CLI mode

โœจ Features #

DevForge supports both direct commands and a guided interactive mode.

Feature Description
๐ŸŒ ApiClient Service Generates api_client.dart with Dio setup + logger_interceptor.dart
๐Ÿ“ฆ Assets Utility Generates assets_utils.dart with static asset paths
๐Ÿ”” FCM Service Generates fcm_service.dart for Firebase Cloud Messaging
๐Ÿ”‘ Refresh Token Service Creates refresh_token.dart for token refresh handling
๐Ÿ’พ Local Storage Service Generates SharedPreferences or GetStorage service
๐Ÿ—„๏ธ Sqflite Service Generates SQLite singleton service
๐Ÿ“„ Pagination Utilities Controller + reusable paginated list widgets
๐Ÿงฉ BLoC Boilerplate Generates bloc folder with event/state/bloc
๐ŸŽฎ GetX Boilerplate Generates controller, bindings, and screen
๐Ÿ–ผ App Icon Generator Generates platform-specific app icons
๐ŸŒ Localization Generator Extracts strings and generates translation files
๐Ÿฉบ Flutter Doctor Runs environment checks
๐Ÿงน Cache Cleaning Runs flutter clean and optional pub cache clean
๐Ÿ“ฆ Flavor Builds Builds APK/AppBundle/iOS/IPA with optional flavors
๐ŸŽ› Interactive Mode Use devforge run for a menu-driven experience

๐Ÿ“‹ Requirements #

Requirement Details
Dart SDK >=3.0.0 <4.0.0
Flutter Project Generated files are placed inside lib/
PATH Ensure ~/.pub-cache/bin is in your PATH

๐Ÿš€ Installation #

Activate globally #

dart pub global activate devforge

### Verify Installation

devforge --help
0
likes
140
points
631
downloads

Publisher

unverified uploader

Weekly Downloads

CLI tool to generate Flutter/Dart boilerplate code.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args, dio, http, image, interact, intl, path, shared_preferences, yaml

More

Packages that depend on devforge