ft_cli 0.1.4 ft_cli: ^0.1.4 copied to clipboard
This project is one CLI for integrate Flutter and Dart with Clean Architecture
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate ft_cli
Use it
The package has the following executables:
$ ft_cli
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ft_cli
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
ft_cli: ^0.1.4
Alternatively, 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:ft_cli/app_module.dart';
import 'package:ft_cli/controller/design_pattern/design_pattern_controller.dart';
import 'package:ft_cli/controller/generate_layer_controller.dart';
import 'package:ft_cli/controller/get_version_controller.dart';
import 'package:ft_cli/controller/help_command_controller.dart';
import 'package:ft_cli/controller/init_controller.dart';
import 'package:ft_cli/controller/microfrontend/base_app_controller.dart';
import 'package:ft_cli/controller/microfrontend/micro_app_controller.dart';
import 'package:ft_cli/controller/microfrontend/micro_commons_controller.dart';
import 'package:ft_cli/controller/microfrontend/micro_core_controller.dart';
import 'package:ft_cli/controller/microfrontend/microfrontend_controller.dart';
import 'package:ft_cli/core/commands/localization.dart';
import 'package:ft_cli/core/errors/file_exists_error.dart';
import 'package:ft_cli/core/files/generate_new_file.dart';
import 'package:ft_cli/core/files/generate_replace_file.dart';
import 'package:ft_cli/core/files/generate_scripts.dart';
import 'package:ft_cli/core/utils/constants.dart';
import 'package:ft_cli/core/utils/dialog_utils.dart';
import 'package:ft_cli/core/utils/directory_utils.dart';
import 'package:ft_cli/core/utils/global_variable.dart';
import 'package:ft_cli/core/utils/output_utils.dart';
import 'package:ft_cli/core/utils/reserved_words.dart';
import 'package:ft_cli/core/utils/triggers_utils.dart';
import 'package:ft_cli/core/utils/validate_arguments.dart';
import 'package:ft_cli/core/utils/wellcome_message.dart';
import 'package:ft_cli/models/dtos/new_file_dto.dart';
import 'package:ft_cli/models/dtos/replace_dto.dart';
import 'package:ft_cli/models/entities/design_pattern/controller_design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/datasource_design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/datasource_interface_design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/dto_design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/entity_design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/page_design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/repository_design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/repository_interface_design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/usecase_design_pattern.dart';
import 'package:ft_cli/models/entities/design_pattern/usecase_interface_design_pattern.dart';
import 'package:ft_cli/models/entities/microfrontend/base_app.dart';
import 'package:ft_cli/models/entities/microfrontend/micro_app.dart';
import 'package:ft_cli/models/entities/microfrontend/micro_commons.dart';
import 'package:ft_cli/models/entities/microfrontend/micro_core.dart';
import 'package:ft_cli/models/entities/microfrontend/microfrontend.dart';