egycoder_cli 1.3.1 egycoder_cli: ^1.3.1 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: ^1.3.1
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.dart';
import 'package:egycoder_cli/_core/file_manager.dart';
import 'package:egycoder_cli/_core/info.dart';
import 'package:egycoder_cli/_core/input_converter.dart';
import 'package:egycoder_cli/_core/sample_reader.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/datasource.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/_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/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';
import 'package:egycoder_cli/main.dart';