egycoder_cli 2.1.3 egycoder_cli: ^2.1.3 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.1.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: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/data_repository.dart';
import 'package:egycoder_cli/samples/data_source.dart';
import 'package:egycoder_cli/samples/domain_repository.dart';
import 'package:egycoder_cli/samples/entities.dart';
import 'package:egycoder_cli/samples/entity.dart';
import 'package:egycoder_cli/samples/injection_container.dart';
import 'package:egycoder_cli/samples/main.dart';
import 'package:egycoder_cli/samples/page.dart';
import 'package:egycoder_cli/samples/sample_mapping.dart';
import 'package:egycoder_cli/samples/service.dart';
import 'package:egycoder_cli/samples/widget.dart';