thunder_cli 2.2.4 thunder_cli: ^2.2.4 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
Use it
The package has the following executables:
$ thunder
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add thunder_cli
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
thunder_cli: ^2.2.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:thunder_cli/consts/const.dart';
import 'package:thunder_cli/consts/folder_paths.dart';
import 'package:thunder_cli/data/remote/base_client.dart';
import 'package:thunder_cli/extensions/string_extensions.dart';
import 'package:thunder_cli/files_creator/create_models.dart';
import 'package:thunder_cli/files_creator/create_module_files.dart';
import 'package:thunder_cli/files_creator/create_routes_files.dart';
import 'package:thunder_cli/files_creator/init_folders.dart';
import 'package:thunder_cli/main.dart';
import 'package:thunder_cli/services/create_folder_files.dart';
import 'package:thunder_cli/services/run_cmd.dart';
import 'package:thunder_cli/thunder.dart';