easy_init_cli 1.2.3 copy "easy_init_cli: ^1.2.3" to clipboard
easy_init_cli: ^1.2.3 copied to clipboard

A CLI tool to create flutter project and initialize project with boilerplate code

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate easy_init_cli

Use it

The package has the following executables:

$ easy

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add easy_init_cli

With Flutter:

 $ flutter pub add easy_init_cli

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

dependencies:
  easy_init_cli: ^1.2.3

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:easy_init_cli/commands/command_list.dart';
import 'package:easy_init_cli/commands/create_feature/create_feature.dart';
import 'package:easy_init_cli/commands/create_project/create_project.dart';
import 'package:easy_init_cli/commands/create_services/create_services.dart';
import 'package:easy_init_cli/commands/init/init.dart';
import 'package:easy_init_cli/commands/run_build_runner/run_build_runner.dart';
import 'package:easy_init_cli/commands/update/update.dart';
import 'package:easy_init_cli/core/generator.dart';
import 'package:easy_init_cli/core/structure/common_file_contents.dart';
import 'package:easy_init_cli/core/structure/export_structure.dart';
import 'package:easy_init_cli/core/structure/mvc_getx/file_contents/core_file_contents.dart';
import 'package:easy_init_cli/core/structure/mvc_getx/file_contents/mvc_file_contents.dart';
import 'package:easy_init_cli/core/structure/mvc_getx/file_contents/mvc_trivia_content.dart';
import 'package:easy_init_cli/core/structure/mvc_getx/mvc_getx_structure.dart';
import 'package:easy_init_cli/core/structure/structure.dart';
import 'package:easy_init_cli/core/structure/tdd_clean_structure/file_contents/file_contents.dart';
import 'package:easy_init_cli/core/structure/tdd_clean_structure/file_contents/number_trivia_content.dart';
import 'package:easy_init_cli/core/structure/tdd_clean_structure/file_contents/rest_api_file_contents.dart';
import 'package:easy_init_cli/core/structure/tdd_clean_structure/file_contents/tdd_common_content.dart';
import 'package:easy_init_cli/core/structure/tdd_clean_structure/tdd_clean_structure.dart';
import 'package:easy_init_cli/easy_init_logo.dart';
import 'package:easy_init_cli/functions/create.dart';
import 'package:easy_init_cli/functions/find_current_architecture.dart';
import 'package:easy_init_cli/interfaces/args_mixin.dart';
import 'package:easy_init_cli/interfaces/command.dart';
import 'package:easy_init_cli/interfaces/logging.dart';
import 'package:easy_init_cli/utils/shell_utils.dart';
import 'package:easy_init_cli/utils/user_input.dart';
14
likes
140
points
204
downloads

Publisher

unverified uploader

Weekly Downloads

A CLI tool to create flutter project and initialize project with boilerplate code

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, dcli, process_run, recase

More

Packages that depend on easy_init_cli