Skip to main content

flarch 1.0.1 copy "flarch: ^1.0.1" to clipboard
flarch: ^1.0.1 copied to clipboard

A powerful CLI tool for Flutter Clean Architecture. Automates project setup, feature creation, and configuration with support for multiple architectures and state management solutions.

example/example.dart

import 'package:flarch/flarch.dart';

/// Example demonstrating how to use the Flarch CLI programmatically.
/// 
/// This example shows how to create a [Flarch] instance and use it
/// to run commands programmatically instead of using the command line.
void main() async {
  // Create a Flarch instance
  final flarch = Flarch();

  // Print the usage guide
  flarch.printUsage();

  // Print version information
  flarch.printVersion();

  // Example: Run a command programmatically
  // await flarch.run(['init', 'my_app']);
  
  // Example: Create a feature
  // await flarch.run(['UserProfile']);
  
  // Example: List features
  // await flarch.run(['list']);
  
  // Example: Check project health
  // await flarch.run(['health']);
}
3
likes
150
points
35
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A powerful CLI tool for Flutter Clean Architecture. Automates project setup, feature creation, and configuration with support for multiple architectures and state management solutions.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, characters, io, path, prompts, yaml, yaml_edit

More

Packages that depend on flarch