archit 0.0.2
archit: ^0.0.2 copied to clipboard
A powerful CLI tool to scaffold Flutter projects with clean architecture.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add architThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
archit: ^0.0.2Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:archit/commands/cli.dart';
import 'package:archit/commands/create_project_command.dart';
import 'package:archit/commands/feature_manager_command.dart';
import 'package:archit/generators/app_generator.dart';
import 'package:archit/generators/core_generator.dart';
import 'package:archit/generators/feature_generator.dart';
import 'package:archit/generators/pubspec_generator.dart';
import 'package:archit/generators/usecase_generator.dart';
import 'package:archit/models/project_config.dart';
import 'package:archit/utils/console.dart';
import 'package:archit/utils/fs_utils.dart';