Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/find dart files from directory #10

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

iandis
Copy link

@iandis iandis commented Feb 11, 2022

Motivation

I recently refactored a code base that has localization and it's now becoming larger. Now, the main localization.dart file has become a monolith that contains all localized words that have different context. So I decided to split them by feature in mixins. However, both extract_to_arb and generate_from_arb does not support generating arb file from directory containing all the .dart files.

Goal

This PR gives this library the ability to find all dart files from directories given by user.

@jaumard
Copy link

jaumard commented Jun 8, 2022

Hey, sorry for the delay. Look like interesting addition, could you add some tests for the uses case you added?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants