thunder_cli 2.3.4+2
thunder_cli: ^2.3.4+2 copied to clipboard
This project is a Flutter application scaffolded with GetX and follows the MVC (Model-View-Controller) architecture.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate thunder_cli
copied to clipboard
Use it
The package has the following executables:
$ thunder
copied to clipboard
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add thunder_cli
copied to clipboard
With Flutter:
$ flutter pub add thunder_cli
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
thunder_cli: ^2.3.4+2
copied to clipboard
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:thunder_cli/core/consts/const_strings.dart';
import 'package:thunder_cli/core/consts/folder_paths.dart';
import 'package:thunder_cli/core/extensions/app_data_extension.dart';
import 'package:thunder_cli/core/extensions/string_extensions.dart';
import 'package:thunder_cli/core/networking/dio_handler.dart';
import 'package:thunder_cli/core/services/cmd_service/run_in_cmd.dart';
import 'package:thunder_cli/core/services/command_service/command_service.dart';
import 'package:thunder_cli/core/services/command_service/get_command.dart';
import 'package:thunder_cli/core/services/folder_and_file_service/create_path_if_not_found.dart';
import 'package:thunder_cli/core/services/folder_and_file_service/folder_and_file_service.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/build_body_model_file.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/build_controller_for_requests.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/build_repos_for_requests.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/convert_api_collection_to_code.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/extract_request_details.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/get_variables_data.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/models/request_model.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/models/variable_model.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/read_file_path_and_data.dart';
import 'package:thunder_cli/features/convert_api_collection_to_code/set_routes_in_api_const.dart';
import 'package:thunder_cli/features/create_api_model/build_model_file.dart';
import 'package:thunder_cli/features/create_api_model/create_api_model.dart';
import 'package:thunder_cli/features/create_api_model/setup_helper_methods.dart';
import 'package:thunder_cli/features/create_api_model/setup_request_data.dart';
import 'package:thunder_cli/features/create_feature/create_feature.dart';
import 'package:thunder_cli/features/create_feature/setup_feature_files.dart';
import 'package:thunder_cli/features/create_feature/setup_feature_folders.dart';
import 'package:thunder_cli/features/init_project/clone_repo_and_setup_project.dart';
import 'package:thunder_cli/features/init_project/get_project_data.dart';
import 'package:thunder_cli/features/init_project/init_project.dart';
import 'package:thunder_cli/features/init_project/models/app_data_model.dart';
import 'package:thunder_cli/features/init_project/open_project_in_vs_code.dart';
import 'package:thunder_cli/features/init_project/publish_project_to_github.dart';
import 'package:thunder_cli/features/init_project/set_up_github_action.dart';
import 'package:thunder_cli/features/init_project/setup_flavor.dart';
import 'package:thunder_cli/features/localization_feature/get_string_to_translate.dart';
import 'package:thunder_cli/features/localization_feature/get_translate_languages.dart';
import 'package:thunder_cli/features/localization_feature/localization_feature.dart';
import 'package:thunder_cli/features/localization_feature/models/from_to_language_model.dart';
import 'package:thunder_cli/features/localization_feature/models/localization_variables_name.dart';
import 'package:thunder_cli/features/localization_feature/models/translated_words_model.dart';
import 'package:thunder_cli/features/localization_feature/setup_languages_files.dart';
import 'package:thunder_cli/features/localization_feature/translate_languages.dart';
import 'package:thunder_cli/features/routes_feature/add_in_app_router.dart';
import 'package:thunder_cli/features/routes_feature/add_in_route_file.dart';
import 'package:thunder_cli/features/routes_feature/route_feature.dart';
import 'package:thunder_cli/main.dart';
import 'package:thunder_cli/thunder.dart';
copied to clipboard