Welcome to the Forge Cli documentation! Forge Cli is a powerful CLI tool designed to streamline Flutter development by automating the creation of clean architecture, features, and boilerplate code. Whether you're working on a business project or a personal one, Forge Cli helps you focus on building stunning UIs by handling the repetitive tasks for you.


What is Forge Cli?

Forge Cli is a command-line interface (CLI) tool that simplifies the process of setting up and managing Flutter projects. It allows developers to quickly generate project structures, add new features, and automatically create necessary code components like repositories, data sources, and BLoCs.

Key Features

  • Quick Project Setup: Generate a new Flutter project with a clean architecture structure in seconds.
  • Effortless Feature Addition: Add new features to your project with a simple command.
  • Automated Code Generation: Define abstract classes, and let Forge Cli generate repository, datasource, and BLoC code automatically.
  • Focus on UI: Spend more time building beautiful and functional user interfaces while Forge Cli handles the boilerplate.

Why Use Forge Cli?

  • Save Time: Reduce the time spent on repetitive coding tasks and setup.
  • Improve Efficiency: Streamline your workflow with automated code generation.
  • Maintain Clean Architecture: Ensure your projects follow a robust and maintainable architecture.
  • Enhance Productivity: Focus on the creative aspects of development, such as UI/UX design.

Getting Started

To start using Forge Cli, follow these steps:

  1. Installation: install Forge Cli via Dart.
  2. Create a New Project: Use the CLI to generate a new Flutter project.
  3. Add Features: Easily add new features and let Forge Cli handle the rest.
  4. Build Your UI: Concentrate on building and perfecting your app's user interface.

For detailed instructions, check out the Installation Guide

Let's build amazing Flutter apps together with Forge Cli 🚀


Last updated: Mars 25, 2025

Libraries

core/api/api_consumer
core/api/dio_consumer
core/api/dio_interceptor
core/api/network
core/bricks/create_route_bundle
core/bricks/dio_consumer_bundle
core/bricks/easy_localization_bundle
core/bricks/flutter_secure_storage_bundle
core/bricks/go_router_builder_bundle
core/bricks/go_router_bundle
core/bricks/hive_bundle
core/bricks/http_consumer_bundle
core/bricks/make_core_bundle
core/bricks/new_feature_bundle
core/bricks/shared_preferences_bundle
core/constants/app_const
core/constants/packages_version
core/db/local_db
core/env/env
core/errors/errorModel/error_model
core/errors/exceptions/exceptions
core/errors/failures/failures
core/extensions/string
core/gen/injection
core/gen/injection.config
core/helpers/build_cmd_helper
core/helpers/create_cmd_helper
core/models/forge_config
core/models/token_model
core/shared/bricks_manager
core/shared/builded_files_manager
core/shared/cli_bricks
core/shared/create_flutter_project
core/shared/datasource_file_manager
core/shared/feature_config_manager
core/shared/file_handler
core/shared/forge_config_manager
core/shared/go_router_files_manager
core/shared/interact_manager
core/shared/logger_module
core/shared/login_manager
core/shared/models_manager
core/shared/paths_manager
core/shared/pre_post_gen
core/shared/pubspec_manager
core/shared/repository_manager
core/shared/used_packages
core/shared/validators
features/auth/data/datasources/auth_data_source
features/auth/data/models/auth_model
features/auth/data/models/auth_models_export
features/auth/data/repositories/auth_repository_impl
features/auth/domain/entities/auth_entities_export
features/auth/domain/entities/device_auth
features/auth/domain/repositories/auth_repository
features/auth/domain/usecases/check_device_auth_status_usecase
features/auth/domain/usecases/device_auth_usecase
features/auth/presentation/check_status_manager
features/auth/presentation/device_auth_manager
features/generate_code/data/datasources/api_data_source
features/generate_code/data/models/api_models_export
features/generate_code/data/models/build_model
features/generate_code/data/repositories/api_repository_impl
features/generate_code/domain/entities/api_entities_export
features/generate_code/domain/entities/build_entity
features/generate_code/domain/repositories/api_repository
features/generate_code/domain/usecases/build_cmd_usecase
features/generate_code/presentation/get_generated_code
forge_cli
# activate forge_cli dart pub global activate forge_cli # see usage forge_cli --help