blueprint_cli 0.0.2+1
blueprint_cli: ^0.0.2+1 copied to clipboard
A CLI tool for quickly bootstrapping Flutter projects and adding feature modules with clean architecture.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate blueprint_cli
Use it
The package has the following executables:
$ blue_print
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add blueprint_cli
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
blueprint_cli: ^0.0.2+1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:blueprint_cli/blue_print.dart';
import 'package:blueprint_cli/core_classes_content.dart';
import 'package:blueprint_cli/create_files_helper.dart';
import 'package:blueprint_cli/data_layer_generation.dart';
import 'package:blueprint_cli/dependancies.dart';
import 'package:blueprint_cli/features_classes_content.dart';
import 'package:blueprint_cli/folders_structure.dart';
import 'package:blueprint_cli/logic_layer_generation.dart';
import 'package:blueprint_cli/ui_layer_generation.dart';