egycoder_cli 2.2.0 egycoder_cli: ^2.2.0 copied to clipboard
this is one of egycoder framework packages, it's a cli to manage your code
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate egycoder_cli
Use it
The package has the following executables:
$ egycoder
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add egycoder_cli
With Flutter:
$ flutter pub add egycoder_cli
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
egycoder_cli: ^2.2.0
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:egycoder_cli/core/failure.core.dart';
import 'package:egycoder_cli/core/file_manager.core.dart';
import 'package:egycoder_cli/core/info.core.dart';
import 'package:egycoder_cli/core/input_converter.core.dart';
import 'package:egycoder_cli/core/sample_reader.core.dart';
import 'package:egycoder_cli/features/create/create.dart';
import 'package:egycoder_cli/features/create/create_impl.dart';
import 'package:egycoder_cli/features/create/datasource.dart';
import 'package:egycoder_cli/features/initiate/initiate.dart';
import 'package:egycoder_cli/features/initiate/initiate_impl.dart';
import 'package:egycoder_cli/features/pubspec/packages.dart';
import 'package:egycoder_cli/features/pubspec/pubspec.dart';
import 'package:egycoder_cli/features/pubspec/pubspec_impl.dart';
import 'package:egycoder_cli/main.dart';
import 'package:egycoder_cli/samples/analysis_options.dart';
import 'package:egycoder_cli/samples/clean.dart';
import 'package:egycoder_cli/samples/data_repository.dart';
import 'package:egycoder_cli/samples/data_source.dart';
import 'package:egycoder_cli/samples/domain_repository.dart';
import 'package:egycoder_cli/samples/either.dart';
import 'package:egycoder_cli/samples/entities.dart';
import 'package:egycoder_cli/samples/entity.dart';
import 'package:egycoder_cli/samples/failure.dart';
import 'package:egycoder_cli/samples/injection_container.dart';
import 'package:egycoder_cli/samples/main.dart';
import 'package:egycoder_cli/samples/navigation.dart';
import 'package:egycoder_cli/samples/navigation_service.dart';
import 'package:egycoder_cli/samples/page.dart';
import 'package:egycoder_cli/samples/route_names.dart';
import 'package:egycoder_cli/samples/routes.dart';
import 'package:egycoder_cli/samples/sample_mapping.dart';
import 'package:egycoder_cli/samples/service.dart';
import 'package:egycoder_cli/samples/widget.dart';