essam_cli 1.0.5+2 copy "essam_cli: ^1.0.5+2" to clipboard
essam_cli: ^1.0.5+2 copied to clipboard

Dart CLI that scaffolds Clean Architecture features for Flutter — generates layers, use cases, DI, and barrel files automatically.

example/essam_cli_example.dart

import 'dart:io';

void main() async {
  print('Essam CLI Example');
  print('=================');
  print('To use this CLI, you should run it directly from your terminal:');
  print('\n> essam create Authentication');
  print('\nOr you can run it programmatically:');

  // Example of running the CLI programmatically
  // NOTE: This will only work if the CLI is globally activated
  try {
    var result = await Process.run('essam', ['--help']);
    print('\nOutput of `essam --help`:');
    print(result.stdout);
  } catch (e) {
    print('\nCould not run CLI programmatically. Is it installed?');
  }
}
1
likes
160
points
85
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart CLI that scaffolds Clean Architecture features for Flutter — generates layers, use cases, DI, and barrel files automatically.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, io, path

More

Packages that depend on essam_cli