polyglot_cli 0.5.0 copy "polyglot_cli: ^0.5.0" to clipboard
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_cli

Use 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_cli

With Flutter:

 $ flutter pub add polyglot_cli

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  polyglot_cli: ^0.5.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: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';
1
likes
120
points
6
downloads

Publisher

unverified uploader

Weekly Downloads

Generate l10n delegate from partition files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, basic_utils, collection, intl, logging, mustache_template, path, prompts, yaml, yaml_writer

More

Packages that depend on polyglot_cli