emily 0.2.0
emily: ^0.2.0 copied to clipboard
Emily's CLI assistant eases the chore of developing apps on Flutter.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate emily
Use it
The package has the following executables:
$ emily
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add emily
With Flutter:
$ flutter pub add emily
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
emily: ^0.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:emily/commands/add_command.dart';
import 'package:emily/commands/commands.dart';
import 'package:emily/commands/connect_command.dart';
import 'package:emily/commands/create_command.dart';
import 'package:emily/commands/help_command.dart';
import 'package:emily/constants/constants.dart';
import 'package:emily/services/directory_service.dart';
import 'package:emily/services/file_service.dart';
import 'package:emily/services/input_service.dart';
import 'package:emily/services/script_service.dart';
import 'package:emily/services/services.dart';
import 'package:emily/utils/console.dart';
import 'package:emily/utils/converter.dart';
import 'package:emily/utils/extension/extension.dart';
import 'package:emily/utils/extension/string_extension.dart';
import 'package:emily/utils/file_modifier.dart';
import 'package:emily/utils/utils.dart';
import 'package:emily/utils/validator.dart';