archit 0.1.0 copy "archit: ^0.1.0" to clipboard
archit: ^0.1.0 copied to clipboard

A powerful CLI tool to scaffold Flutter projects with clean architecture.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate archit

Use it

The package has the following executables:

$ archit

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add archit

With Flutter:

 $ flutter pub add archit

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  archit: ^0.1.0

Alternatively, your editor might support dart pub get or flutter 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';
6
likes
135
points
212
downloads

Documentation

API reference

Publisher

verified publisheralfuad.me

Weekly Downloads

A powerful CLI tool to scaffold Flutter projects with clean architecture.

Repository (GitHub)
View/report issues

Topics

#cli #flutter #clean-architecture #scaffold #generator

License

BSD-3-Clause (license)

Dependencies

args, interact, path, yaml

More

Packages that depend on archit