polyglot_cli 0.5.0
polyglot_cli: ^0.5.0 copied to clipboard
Generate l10n delegate from partition files.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate polyglot_cliUse it
The package has the following executables:
$ polyglot
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add polyglot_cliWith Flutter:
$ flutter pub add polyglot_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
polyglot_cli: ^0.5.0Alternatively, 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:polyglot_cli/arb_part_dto.dart';
import 'package:polyglot_cli/base_command.dart';
import 'package:polyglot_cli/cli_helper.dart';
import 'package:polyglot_cli/commands/commands.dart';
import 'package:polyglot_cli/commands/gen.dart';
import 'package:polyglot_cli/commands/import.dart';
import 'package:polyglot_cli/commands/init.dart';
import 'package:polyglot_cli/commands/join.dart';
import 'package:polyglot_cli/commands/migrate.dart';
import 'package:polyglot_cli/config.dart';
import 'package:polyglot_cli/exceptions/arb_import_exception.dart';
import 'package:polyglot_cli/exceptions/exceptions.dart';
import 'package:polyglot_cli/features/gen/arb_gen.dart';
import 'package:polyglot_cli/features/gen/export_extension.dart';
import 'package:polyglot_cli/features/gen/templates/delegate_template.dart';
import 'package:polyglot_cli/features/gen/templates/method_impl_template.dart';
import 'package:polyglot_cli/features/gen/templates/node_template.dart';
import 'package:polyglot_cli/features/import/arb_import.dart';
import 'package:polyglot_cli/features/join/arb_join.dart';
import 'package:polyglot_cli/runner.dart';
import 'package:polyglot_cli/types.dart';